Project

General

Profile

Activity

From 09/07/2013 to 09/13/2013

09/13/2013

09:08 PM Revision 2614d9ba (git): * dir.c (dir_s_glob): [DOC] Improve wording and layout.
* dir.c (file_s_fnmatch): ditto.
* dir.c (Init_Dir): [DOC] Document File::Constants::FNM_XXX
constants. (These won't show up in RDoc until a new RDoc is
imported.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42940 b2dd03...
drbrain (Eric Hodel)
07:59 PM Revision a332bc59 (git): * 2013-09-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:58 PM Revision 1daa0b11 (git): * lib/rubygems: Update to RubyGems 2.1.3
Fixed installing platform gems
Restored concurrent requires
Fixed installing gems with extensions with --install-dir
Fixed `gem fetch -v` to install the latest version
Fixed installing gems with "./" in their files entries
*...
drbrain (Eric Hodel)
04:18 PM Feature #8892: Documentation of Ruby at the level of S-expressions.
@naruse: I see.
@yorickpeterse: Looks awesome. I hope it won't disappoint me. That whitequark guy looks amazing, too. Thanks for enlightening me.
Anonymous
04:06 PM Misc #8905 (Closed): Add documentation to semantics of method default arguments
In http://www.ruby-doc.org/core-2.0.0/doc/syntax/methods_rdoc.html one can see simple uses of default parameters. But I couldn't find any rules on default parameters, which are calculated in a runtime such as context and order of assignm... prijutme4ty (Ilya Vorontsov)
03:02 PM Revision b3571b55 (git): * lib/rubygems: Update to RubyGems to 2.0.8. [ruby-core:57155]
[Backport #8900]
the patch is provided by drbrain (Eric Hodel).
this update contains a security fix for CVE-2013-4287.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:31 PM Revision 81a807b1 (git): merge revision(s) 42541: [Backport #8903]
* object.c (Init_Object): undef Module#prepend_features on Class, as
well as Module#append_features. [Fixes GH-376]
* test_class.rb: Added test for above. And ensure type checking
on similar methods as modul...
nagachika (Tomoyuki Chikanaga)
02:18 PM Revision 4dbca94e (git): merge revision(s) 42379: [Backport #8904]
* enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
Patch by @kachick [Fixes GH-372]
https://github.com/ruby/ruby/pull/372
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42935 b2dd03c8-...
nagachika (Tomoyuki Chikanaga)
02:01 PM Revision 4c2f2ffc (git): merge revision(s) 42782,42799: [Backport #8902]
* vm_insnhelper.c (vm_search_super_method): use ci->argc instead of
ci->orig_argc. ci->argc can be changed by splat arguments.
[ruby-list:49575]
This fix should be applied to Ruby 2.0.0 seriese.
* t...
nagachika (Tomoyuki Chikanaga)
10:23 AM Bug #8443: -Lprefix/lib
> 反対というわけではないのですが、
> この話は、いろいろある cross compile に関する問題のうちのひとつなので、
> ひとつだけどうにかしても cross compile が成功するようになるわけではない気がします。
なるほど。
configure.in の変更の、特に multiarch に関するところは autoconf の要求バージョンが
上がったことから気楽にバックポートしにくいのと、手元で cross compile を試...
nagachika (Tomoyuki Chikanaga)
09:53 AM Bug #8443: -Lprefix/lib
2013年9月13日 1:56 nagachika (Tomoyuki Chikanaga) <[email protected]>:
> Issue #8443 has been updated by nagachika (Tomoyuki Chikanaga).

> では少し変更して以下で入れておこうと思います。

反対というわけではないのですが、
この話は、いろいろある cross compile に関する問題のうちのひとつなの...
akr (Akira Tanaka)
01:56 AM Bug #8443: -Lprefix/lib
r39347 のバックポートははさらに他の変更も引き連れていかないといけないと思うのでしないつもりです。
では少し変更して以下で入れておこうと思います。
Index: configure.in
===================================================================
--- configure.in (revision 42911)
+++ configure.in ...
nagachika (Tomoyuki Chikanaga)
07:28 AM Revision 85995e88 (git): hash.c: utility functions from ruby_setenv
* hash.c (invalid_envname, check_envname): extract utility functions
from ruby_setenv().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:28 AM Revision 24833587 (git): rbuninstall.rb: tty
* tool/rbuninstall.rb: show progress if tty and add --tty option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:24 AM Revision 6217307f (git): rbuninstall.rb: rmdir -p
* tool/rbuninstall.rb: remove parent directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:57 AM Revision 80d82164 (git): * lib/uri/generic.rb (URI::Generic.find_proxy): return nil if
http_proxy environment variable is empty string.
[ruby-core:57140] [Bug #8898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:48 AM Bug #7537: OptionParser treats negative digits as options
Any thoughts about this patch? prijutme4ty (Ilya Vorontsov)
03:23 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
(9/5/13 8:55 AM), SASADA Koichi wrote:
> (2013/09/05 20:52), Glass_saga (Masaki Matsushita) wrote:
>> I fixed a bug in ext/thread.c ([ruby-core:56861]).
>> It was not compatible with Objects extended by Mutex_m and test/test_mutex...
kosaki (Motohiro KOSAKI)
03:23 AM Bug #8730: "rescue Exception" rescues Timeout::ExitException
(9/5/13 3:31 AM), Nobuyoshi Nakada wrote:
> (13/09/05 0:25), KOSAKI Motohiro wrote:
>>>> 次に出てくるのは逆に、デーモンなどで全部捕まえたいケースで、rescue Timeout::Error, StandardError =>e
>>>> と書きましょう(書いている)という記述 http://d.hatena.ne.jp/dreammind/20090217/1234...
kosaki (Motohiro KOSAKI)
02:39 AM Revision 0c252b43 (git): NEWS: sort
* NEWS (Stdlib updates): sort in case-insensitive alphabetical order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:42 AM Bug #8205 (Assigned): Regexp.union behavior and Regexp.try_convert
Hello, avyy.
That makes sense.
I think it's spec that Regexp.union internally convert arguments with to_regexp, but it is undocumented behavior. I think it's a documentation issue.
nagachika (Tomoyuki Chikanaga)
01:40 AM Revision 4746305a (git): * 2013-09-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:40 AM Revision fdb6a621 (git): * lib/rubygems: Update to RubyGems 2.1.3
Fixed installing platform gems
Restored concurrent requires
Fixed installing gems with extensions with --install-dir
Fixed `gem fetch -v` to install the latest version
Fixed installing gems wit...
drbrain (Eric Hodel)

09/12/2013

10:57 PM Feature #8460: PATCH: optparse: add `keep_unknown` option
No test yet.
https://github.com/nobu/ruby/tree/optparse-keep_unknown
nobu (Nobuyoshi Nakada)
10:37 PM Feature #8890 (Closed): [PATCH] Eliminate less-than-zero checks for unsigned variables
This issue was solved with changeset r42920.
Anton, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Eliminate less-than-zero checks for unsigned variables
* ext/bi...
nobu (Nobuyoshi Nakada)
06:12 AM Feature #8890: [PATCH] Eliminate less-than-zero checks for unsigned variables
It would be nice configure script abort if detect signed size_t. It protects us from crazy and invalid platform issue.
Other than that, the patch looks good to me.
kosaki (Motohiro KOSAKI)
04:46 AM Feature #8890: [PATCH] Eliminate less-than-zero checks for unsigned variables
OK, same for C89: http://port70.net/~nsz/c/c89/c89-draft.html, section 4.1.5. tonyo (Anton Ovchinnikov)
09:47 PM Bug #8901 (Closed): "-lgmp: not found" でlibruby-static.a 作成に失敗する
This issue was solved with changeset r42919.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAG...
ngoto (Naohisa Goto)
05:37 PM Bug #8901 (Closed): "-lgmp: not found" でlibruby-static.a 作成に失敗する
BignumにGMPを使うようになって以降、Solarisで以下のようにlibruby-static.a の作成に失敗するようになりました。
Solaris以外にも、LDFLAGSでライブラリの場所を指定する必要のある環境では同様に失敗すると思います。
% CC=cc
% CXX=CC
% CPPLAGS="-I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include"
% CF...
ngoto (Naohisa Goto)
09:23 PM Bug #8899 (Rejected): Ruby Crashes when pulling databse from heroku using 'taps' gem
You run ruby 1.9.3 with extension libraries for 2.0.0. nobu (Nobuyoshi Nakada)
01:55 AM Bug #8899 (Rejected): Ruby Crashes when pulling databse from heroku using 'taps' gem
/Users/[user]/.rvm/gems/ruby-2.0.0-p247@[gemset]/gems/sqlite3-1.3.7/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]
-- Control frame information -----------...
zaid_brilliant (Zaid Akram)
08:07 PM Bug #8864 (Closed): sprintf segfaults with too high precision
This issue was solved with changeset r42918.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vsnprintf.c: fix buffer overflow
* vsnprintf.c (MAXEXP, MAXFRAC...
nobu (Nobuyoshi Nakada)
07:44 PM Bug #8864: sprintf segfaults with too high precision
I made a patch for this issue. phasis68 (Heesob Park)
05:11 PM Revision a6929d1d (git): merge revision(s) 42906: [Backport #8891]
* thread.c (rb_mutex_unlock): Mutex#unlock no longer raise
an exception even if uses on trap. [Bug #8891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:43 PM Revision acdfd915 (git): merge revision(s) 42905: [Backport #8884]
* vm_backtrace.c (vm_backtrace_to_ary): Ignore the second argument if
it is nil. [Bug #8884] [ruby-core:57094]
* test/ruby/test_backtrace.rb (test_caller_with_nil_length):
Test for above.
git-svn-id: svn+ss...
nagachika (Tomoyuki Chikanaga)
04:08 PM Revision b55e9b7b (git): merge revision(s) 42903: [Backport #8881]
* class.c (method_entry_i): should exclude refined methods from
instance method list. [ruby-core:57080] [Bug #8881]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:05 PM Bug #8443: -Lprefix/lib
r39347 のバックポート予定がないのならいいんじゃないでしょうか。 nobu (Nobuyoshi Nakada)
12:55 AM Bug #8443: -Lprefix/lib
なかださん
バックポートしようと思ったのですが LIBRUBY_PATHFLAGS への代入が ruby_2_0_0 では -L\$(libdir) になっていたので(r39347 がバックポートされていないため)、conflict を解消して以下のようなパッチにしてみました。
-L\$(libdir) → -L${libprefix} に変更してもいいでしょうか?
Index: configure.in
======================...
nagachika (Tomoyuki Chikanaga)
03:54 PM Revision 3041c43d (git): merge revision(s) 42869: [Backport #8872]
* vm_eval.c (vm_call0): fix prototype, the id parameter should be of
type ID, not VALUE
* vm_insnhelper.c (check_match): the rb_funcall family of functions
does not care about refinements. We need to use
...
nagachika (Tomoyuki Chikanaga)
03:28 PM Revision ba76a79a (git): merge revision(s) 42450: [Backport #8735]
* enumerator.c (lazy_zip_func): fix non-single argument. fix
out-of-bound access and pack multiple yielded values.
[ruby-core:56383] [Bug #8735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42922...
nagachika (Tomoyuki Chikanaga)
01:40 PM Revision e6a317bf (git): configure.in: size_t must be unsigned
* configure.in (RUBY_CHECK_SIGNEDNESS): macro to check signedness of a
type.
* configure.in (size_t): must be unsigned.
[ruby-core:57149] [Feature #8890]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42921 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
01:37 PM Revision 3f78d846 (git): Eliminate less-than-zero checks for unsigned variables
* ext/bigdecimal/bigdecimal.c, ext/digest/md5/md5.c,
ext/json/fbuffer/fbuffer.h, ext/json/generator/generator.c:
Eliminate less-than-zero checks for unsigned variables.
According to section 4.1.5 of C89 standard, size_t is an unsig...
nobu (Nobuyoshi Nakada)
12:47 PM Revision a6f13053 (git): * Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may include library path that should be specified before LIBS.
[ruby-dev:47707] [Bug #8901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
11:58 AM Feature #8895: Destructuring Assignment for Hash
chendo (Jack Chen) wrote:
> No value variable after `other_key:` feels a bit off to me, too.
Not surprising it feels off today, but you better get used to it because it's coming in 2.1.0: https://bugs.ruby-lang.org/issues/7701
marcandre (Marc-Andre Lafortune)
09:54 AM Feature #8895: Destructuring Assignment for Hash
sawa (Tsuyoshi Sawada) wrote:
> Given that destructive assignments with array prohibits the `[ ]` on the left side of the assignment, that is:
> ...
I left the braces in because I felt it would be easier to parse, however if without br...
chendo (Jack Chen)
09:52 AM Feature #8895: Destructuring Assignment for Hash
marcandre (Marc-Andre Lafortune) wrote:
> I suggested something similar in [ruby-core:41772].
> ...
I considered the case of default options, but I couldn't figure out a way to make it read well, and there are many cases where the key...
chendo (Jack Chen)
03:21 AM Feature #8895: Destructuring Assignment for Hash
Given that destructive assignments with array prohibits the `[ ]` on the left side of the assignment, that is:
a, b = [1, 2]
instead of:
[a, b] = [1, 2]
it would be more consistent if your proposal were:
name: ...
sawa (Tsuyoshi Sawada)
02:41 AM Feature #8895: Destructuring Assignment for Hash
I suggested something similar in [ruby-core:41772].
Here is a summary from my similar suggestion made in [ruby-core:41772]:
~~~ruby
{key: 'default', other_key:, **other_options} = {other_key: 42, foo: 'bar'}
key # => 'default'
ot...
marcandre (Marc-Andre Lafortune)
11:07 AM Revision 88d28fb7 (git): vsnprintf.c: fix buffer overflow
* vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in
float.h.
* vsnprintf.c (BSD_vfprintf): limit length for cvt() to get rid of
buffer overflow. [ruby-core:57023] [Bug #8864]
* vsnprintf.c (exponent): make expbuf s...
nobu (Nobuyoshi Nakada)
05:37 AM Revision 1472ca90 (git): * 2013-09-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:37 AM Revision e4ef4ddd (git): signal.c: adjust style
* signal.c (rb_sigaltstack_size, ruby_abort): adjust style,
procnames-start-lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Feature #8896: #tap with missing block
#tap without a block returning self makes sense

--
Fuad Saud
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Wednesday, September 11, 2013 at 1:54 PM, prijutme4ty (Ilya Vorontsov) wrote:

>
> Issue #88...
fuadksd (Fuad Saud)
01:54 AM Feature #8896: #tap with missing block
> I would like to see tap return an Enumerator if a block is not passed.
Can you explain your suggestion a bit more? I can't imagine realization and use-case yet.
prijutme4ty (Ilya Vorontsov)
01:25 AM Bug #8792: HP-UX needs sys/pstat.h for missing/setproctitle.c
Backported to ruby_2_0_0 at r42913. nagachika (Tomoyuki Chikanaga)

09/11/2013

11:44 PM Bug #8557: rubygems/security.rb is loaded twice if openssl is unavailable
I believe this issue was fixed on ruby_2_0_0, isn't it? nagachika (Tomoyuki Chikanaga)
11:42 PM Feature #8897 (Closed): client side TCP fast open
I propose that ruby supports client side TCP fast open.
Attached patch defines Socket::MSG_FASTOPEN.
Example:
require "socket"
socket = Socket.new(Socket::AF_INET, Socket::SOCK_STREAM)
socket.send("foo", Socket::MSG_FASTOPEN, ...
Glass_saga (Masaki Matsushita)
10:44 PM Bug #8864: sprintf segfaults with too high precision
Ok, (1) is not really an option, all other languages I looked at support arbitrary value of precision. utkarshkukreti (Utkarsh Kukreti)
08:23 PM Feature #8896: #tap with missing block
I would like to see tap return an Enumerator if a block is not passed. Anonymous
07:05 PM Feature #8896 (Open): #tap with missing block
In case when no block provided to tap, it fails. So if you want method which can be called with or without block - you can't do it like this:
def self.create(args={}, &block)
new.set_attributes(args).tap(&block)
end
but should ...
prijutme4ty (Ilya Vorontsov)
06:16 PM Feature #8895: Destructuring Assignment for Hash
This is an awesome idea! However, the parser bit is really evil. I tried implementing it myself (quite a bit of time ago) and completely gave up. It's not above my comprehension, but the amount of work even for my Ruby parser port is hug... whitequark (whitequark *)
04:06 PM Feature #8895 (Closed): Destructuring Assignment for Hash

Given Ruby already supports destructuring assignment with Array (a, b = [1, 2]), I propose destructuring assignments for Hash.
Basic example
-------------
```ruby
params = {name: "John Smith", age: 42}
{name: name, age: ag...
chendo (Jack Chen)
05:30 PM Bug #8893 (Closed): make install fails with cross compilation after r42850-r42864
This issue was solved with changeset r42910.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: fix cross-compiling installation failure
* config...
nobu (Nobuyoshi Nakada)
12:49 PM Bug #8893 (Closed): make install fails with cross compilation after r42850-r42864
r42850 から r42864 までのあいだで、cross compile したときに
make install が失敗するようになっています。
Debian GNU/Linux (wheezy) であれば以下のように再現できます。
% dpkg -l|grep gcc-mingw-w64
ii gcc-mingw-w64 4.6.3-14+8 ...
akr (Akira Tanaka)
04:52 PM Revision 45ce4608 (git): merge revision(s) 42820: [Backport #8856]
* string.c (str_gsub): use BEG(0) for whole matched position not
return value from rb_reg_search(), for \K matching.
[ruby-dev:47694] [Bug #8856]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42915...
nagachika (Tomoyuki Chikanaga)
04:42 PM Revision 8ab9a657 (git): merge revision(s) 40021,42380: [Backport #8686]
test_method.rb: split
* test/ruby/test_method.rb (test_define_method): split for each tests.
* object.c (rb_class_inherited_p): allow iclasses to be tested for
inheritance. [Bug #8686] [ruby-core:56174]
...
nagachika (Tomoyuki Chikanaga)
04:29 PM Feature #8892: Documentation of Ruby at the level of S-expressions.
If you want to use a parser with a stable and documented API use this
instead: https://github.com/whitequark/parser. Ripper isn't exactly a
breeze to work with.

Yorick
yorickpeterse (Yorick Peterse)
03:40 PM Feature #8892 (Rejected): Documentation of Ruby at the level of S-expressions.
Why Ruby doesn't documantate its sexp is because we don't limit Ruby's future by its compatibility.
For version compatibility, Ruby's abstract syntax tree is internal expression and it may be changed suddenly.
If the syntax tree is p...
naruse (Yui NARUSE)
11:03 AM Feature #8892 (Rejected): Documentation of Ruby at the level of S-expressions.
Being a non-expert, I understood that Ruby is parsed into something like S-expressions. I am happy that Ruby allows me not to write in sexps. This buys ergonomy (code readability). I am also happy that Ruby allows me to write in sexps an... Anonymous
04:24 PM Revision c5ce07ee (git): merge revision(s) 42713: [Backport #8792]
* configure.in (sys/pstat.h): fix missing header check for
missing/setproctitle.c on HP-UX. [ruby-core:56644] [Bug #8792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42913 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nagachika (Tomoyuki Chikanaga)
04:16 PM Revision e4d52875 (git): merge revision(s) 42596,42597,42598,42599: [Backport #8795]
* time.c (time_mload): ignore invalid offset and zone.
[ruby-core:56648] [Bug #8795]
* time.c (time_mload): ignore auxiliary data, offset and zone, if
invalid. [ruby-core:56648] [Bug #8795]
* test/r...
nagachika (Tomoyuki Chikanaga)
03:27 PM Revision 08910650 (git): merge revision(s) 42867: [Backport #8873]
* variable.c (classname): the name of class that has
non class id should not be nil. This bug was introduced
in r36577.
* test/thread/test_cv.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nagachika (Tomoyuki Chikanaga)
01:29 PM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
On Sep 10, 2013, at 9:09 PM, marcandre (Marc-Andre Lafortune) wrote:

>
> Issue #8883 has been updated by marcandre (Marc-Andre Lafortune).
>
>
> david_macmahon (David MacMahon) wrote:
>> While playing around with this, I see ...
david_macmahon (David MacMahon)
01:09 PM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
david_macmahon (David MacMahon) wrote:
> While playing around with this, I see that integer Floats also have some special handling:
Right. Floats are inexact while Integers & Rational are exact, and so are Complex with exact compone...
marcandre (Marc-Andre Lafortune)
08:53 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
OK. I agree that requiring mathn avoids that buggy part. Thanks for clarifying. I guess I'm just a little uncomfortable with Rationals and Fixnums being promoted/demoted as needed, but maybe it's all OK and I'm just being paranoid.

...
david_macmahon (David MacMahon)
07:28 AM Bug #8883 (Rejected): Rational canonicalization unexpectedly converts to Fixnum
Mmm, sorry, misread.
I think the idea is that the buggy part (Rational(2) / Rational(3) # => 0) won't happen if you require 'mathn'
marcandre (Marc-Andre Lafortune)
07:26 AM Bug #8883 (Open): Rational canonicalization unexpectedly converts to Fixnum
david_macmahon (David MacMahon) wrote:
> But your previous example required just mathn:
> ...
Agreed.
marcandre (Marc-Andre Lafortune)
12:53 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
But your previous example required just mathn:

$ ruby -rmathn -e 'p Rational(2,1)'
2

It seems like a mathn bug to me.

Dave

On Sep 9, 2013, at 9:56 PM, nobu (Nobuyoshi Nakada) wrote:

>
> Issue #8883 has been updated by ...
david_macmahon (David MacMahon)
01:24 PM Bug #8894: Fixnum#quo returns wrong result when given a float
Issue is actually with Rational#/ that apparently makes a special case of float values that are "multiples" of the denominator, so that:
Rational(6) / 2.0 # => Rational(6, 2)
Putting aside the bug that the Rational returned is ...
marcandre (Marc-Andre Lafortune)
01:07 PM Bug #8894 (Closed): Fixnum#quo returns wrong result when given a float
Fixnum#quo is buggy.
2.quo(2.0) # => Rational(2, 2)
1) Should return a float, not a rational
2) Moreover, that rational is invalid as it is not reduced.
Noticed by David MacMahon [ruby-core:57121]
marcandre (Marc-Andre Lafortune)
09:45 AM Feature #8890: [PATCH] Eliminate less-than-zero checks for unsigned variables
Currently we don't assume C99, but C89.
nobu (Nobuyoshi Nakada)
06:37 AM Feature #8890 (Closed): [PATCH] Eliminate less-than-zero checks for unsigned variables
According to section 7.17 of C99 standard (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf) size_t is an unsigned type. What do you think about the following patch which changes less-than-zero checks to equal-zero for unsigned ... tonyo (Anton Ovchinnikov)
08:30 AM Revision 5397a256 (git): configure.in: fix cross-compiling installation failure
* configure.in (RUNRUBY): append -- only after runruby.rb, not
cross-compiling baseruby, so that $(RUN_OPT) can be command line
options. [ruby-dev:47703] [Bug #8893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42910 b2dd03c8-...
nobu (Nobuyoshi Nakada)
08:23 AM Revision ed6c17f7 (git): numeric.c: use RB_TYPE_P
* numeric.c: use RB_TYPE_P() for special classes instead of switch
with TYPE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:43 AM Misc #8843 (Rejected): ChangeLog のエンコーディングを UTF-8 に変更しませんか
Matzが却下したので一旦閉じます。 kosaki (Motohiro KOSAKI)
05:17 AM Bug #8889 (Rejected): Nodoc large parts of RSS
Continuing my focus on getting RSS documented, I believe that large amounts of it should be nodoc'd. The vast majority of the code is actually internal implementation detail; the big stuff is the builder DSL, which isn't really served by... steveklabnik (Steve Klabnik)
03:00 AM Revision 326980f6 (git): test_sprintf_comb.rb: split tests
* test/ruby/test_sprintf_comb.rb (test_format_integer),
(test_format_float): split huge tests by the formats.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:02 AM Bug #8888 (Closed): Fix grammar for documentation of #bm of Benchmark module
Remove unwanted 'is' from the method description of Benchmark#bm cha1tanya (Prathamesh Sonpatki)

09/10/2013

11:53 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
2013/9/10 Hanmac (Hans Mackowiak) <[email protected]>:
> Issue #8887 has been updated by Hanmac (Hans Mackowiak).

> hm i am curios in what order max(n) and max_by(n) should return the elements?
>
> like [6, 0, 3, 3, 8, 3, 5, 0, 6...
akr (Akira Tanaka)
11:03 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
hm i am curios in what order `max(n)` and `max_by(n)` should return the elements?
like `[6, 0, 3, 3, 8, 3, 5, 0, 6].max(4)`:
should it return `sort.last(n) #> [5, 6, 6, 8]`
or is that better? `[8, 6, 6, 5]` because 8 is bigger than ...
Hanmac (Hans Mackowiak)
10:28 PM Feature #8887 (Closed): min(n), max(n), min_by(n), max_by(n)
How about adding an optional argument, n, for Enumerable#{min,max,min_by,max_by} to
return minimum/maximum n elements as an array.
Example:
* [6, 0, 3, 3, 8, 3, 5, 0, 6].min(4) #=> [0, 0, 3, 3]
* [6, 0, 3, 3, 8, 3, 5, 0, 6].max(4) ...
akr (Akira Tanaka)
11:21 PM Revision 3914cedd (git): * 2013-09-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:21 PM Revision 90425153 (git): * thread.c (rb_mutex_unlock): Mutex#unlock no longer raise
an exception even if uses on trap. [Bug #8891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:40 PM Bug #8864: sprintf segfaults with too high precision
I'm trying to write a patch for this (my first contribution actually), and I'll really appreciate some help.
I've found the cause -- the buffer sent to `cvt()` function in vsnprintf.c is allocated on the stack with a fixed size of `#d...
utkarshkukreti (Utkarsh Kukreti)
08:03 PM Bug #8886 (Closed): TracePoint API inconsistence when raise used
=begin
When `raise` command is used, the TracePoint API triggers the following events in the following order
1. RUBY_EVENT_C_CALL to the `raise` method
2. RUBY_EVENT_RAISE
3. RUBY_EVENT_C_RETURN
But what ruby actuall...
deivid (David Rodríguez)
07:39 PM Bug #8885 (Rejected): Incorrect time is created for time including leap seconds
znz (Kazuhiro NISHIYAMA)
05:55 PM Bug #8885: Incorrect time is created for time including leap seconds
The Ruby version is ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]. I didn't have the timezone set to one that supports leap second. Once I attached "right/", it worked. Thank you for the help. I would like to withdraw this is... sawa (Tsuyoshi Sawada)
05:23 PM Bug #8885: Incorrect time is created for time including leap seconds
2013/9/10 sawa (Tsuyoshi Sawada) <[email protected]>:
> Bug #8885: Incorrect time is created for time including leap seconds
> https://bugs.ruby-lang.org/issues/8885

> ruby -v: 2.0

> `Time.new` creates incorrect tim...
akr (Akira Tanaka)
04:59 PM Bug #8885: Incorrect time is created for time including leap seconds
=begin
Which is your timezone? I guess it works correctly.
RUBY_DESCRIPTION # => "ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]"
ENV["TZ"] = "UTC"
Time.new(2012, 6, 30, 23, 59, 60) # => 2012-07-01 00:00:00 +0000
EN...
no6v (Nobuhiro IMAI)
04:13 PM Bug #8885 (Rejected): Incorrect time is created for time including leap seconds
=begin
`Time.new` creates incorrect time when the time includes a leap second.
Time.new(2012, 6, 30, 23, 59, 60)
# => 2012-07-01 00:00:00 +0900 # Wrong. Should be 2012-06-30 23:59:60 +0900
Time.new(2012, 6, 30, 23, 59...
sawa (Tsuyoshi Sawada)
07:32 PM Bug #8538 (Closed): c method not pushed into the callstack when called, but popped when returned
Anonymous
07:19 PM Bug #8538: c method not pushed into the callstack when called, but popped when returned
=begin
Hi, I've been investigating this issue and I was misunderstanding it. The order of events is
1. Trigger C_CALL_EVENT
2. Push frame into the stack
3. Pop frame from the stack
4. Trigger C_RETURN_EVENT
That...
deivid (David Rodríguez)
01:56 PM Bug #8883 (Rejected): Rational canonicalization unexpectedly converts to Fixnum
Requiring only 'mathn/rational' causes this behavior.
It's a bug to use 'mathn/rational' solely.
nobu (Nobuyoshi Nakada)
01:38 PM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
=begin
Rather, it seems caused by ((%mathn%)).
$ ~/ruby/1.9.3/bin/ruby -e 'p Rational(2)*Rational(1,2)'
(1/1)
$ ~/ruby/1.9.3/bin/ruby -rmathn -e 'p Rational(2)*Rational(1,2)'
1
$ ~/ruby/2.0.0/bin/ruby -e 'p Rational(2)*Rational(1,...
nobu (Nobuyoshi Nakada)
10:12 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
=begin
I can't reproduce this in any version of Ruby that I have installed. What is your Ruby 2.0 patch level?
$ ruby2.0 -ve 'p Rational(2), Rational(3), Rational(2)/Rational(3)'
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-lin...
phluid61 (Matthew Kerwin)
08:41 AM Bug #8883 (Closed): Rational canonicalization unexpectedly converts to Fixnum
The documentation for Rational (http://www.ruby-doc.org/core-2.0.0/Rational.html) states that the result of creating or doing arithmetic on Rationals returns Rationals, as one would expect. Examples from the docs:
Rational(1) ...
melquiades (Paul Cantrell)
10:53 AM Bug #8875: Select is not usable with SSLSocket
2013/9/8 headius (Charles Nutter) <[email protected]>:

> I would agree, except that users are shown, through examples online and in source, that SSLSocket is "IO-like" and can be used anywhere an IO can be used. IO can do buffere...
akr (Akira Tanaka)
08:26 AM Feature #8691: Add warning for variable that is re-assigned but not re-used
A third party tool that I use, called Rubocop, has implemented such functionality. https://github.com/bbatsov/rubocop/issues/458
So I don't really require this functionality in MRI any more.
agrimm (Andrew Grimm)
05:37 AM Revision 5b46f6c6 (git): * vm_backtrace.c (vm_backtrace_to_ary): Ignore the second argument if
it is nil. [Bug #8884] [ruby-core:57094]
* test/ruby/test_backtrace.rb (test_caller_with_nil_length):
Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
05:05 AM Revision 9c060a59 (git): rational.c: conditionally defined variable
* rational.c (numeric_quo): variable 'canonicalization' is defined
conditionally by CANON (and CANONICALIZATION_FOR_MATHN).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:39 AM Revision 67129c83 (git): class.c: exclude refined methods
* class.c (method_entry_i): should exclude refined methods from
instance method list. [ruby-core:57080] [Bug #8881]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:39 AM Revision 9d9dfc21 (git): vm_method.c: constify
* vm_method.c (rb_resolve_refined_method): constify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 AM Revision dc4b0b41 (git): * io.c (rb_f_printf): [DOC] add missing parenthesis in rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:09 AM Revision bd63aca6 (git): NEWS: Update RubyGems note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:52 AM Revision 59b5b084 (git): * 2013-09-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:52 AM Revision f06f9032 (git): * lib/rubygems: Update to RubyGems 2.1.0. Fixes CVE-2013-4287.
See http://rubygems.rubyforge.org/rubygems-update/CVE-2013-4287_txt.html
for CVE information.
See http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.1.0+%2F+2013-09-09
for release notes.
* test/rubygems: Test...
drbrain (Eric Hodel)
12:29 AM Feature #8882 (Rejected): rb_obj_is_mutex() into include/ruby/intern.h
rb_obj_is_mutex() is currently an internal API function.
However, this function is useful for C extension developers to distinguish between Mutex and other objects extended by Mutex_m.
I want to use it in ext/thread/thread.c for this p...
Glass_saga (Masaki Matsushita)

09/09/2013

08:30 PM Feature #8572: Fiber should be a Enumerable
> Why you don't use Enumerator?
Ah, make sense.
mattn (Yasuhiro Matsumoto)
05:53 PM Feature #8572: Fiber should be a Enumerable
Why you don't use Enumerator?
~~~ruby
class TS
attr_accessor :screen_name, :text
def initialize
@screen_name = "foo"
@text = "sample"
end
end

f = Enumerator.new {|g|
# getting twitter status
lo...
ko1 (Koichi Sasada)
05:31 PM Feature #8572: Fiber should be a Enumerable
+1
Matz.
matz (Yukihiro Matsumoto)
05:29 PM Feature #8572: Fiber should be a Enumerable
I think most of use case of using `Fiber` is something like getting stream data or catching-up draining entities. Maybe we won't use `Fiber` for getting limited resources. For example, If `Fiber` has `each`, I guess that we will be possi... mattn (Yasuhiro Matsumoto)
04:56 PM Bug #8880 (Closed): Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux]
This issue was solved with changeset r42896.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_method.c: clear cache after refine method
* vm_method.c (rb...
nobu (Nobuyoshi Nakada)
01:14 PM Bug #8880: Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux]
#8722 is irrelevant, and it occurs regardless of eval.
Seems refined method definition doesn't increase seq in the class.
nobu (Nobuyoshi Nakada)
10:13 AM Bug #8880 (Closed): Refinements bug in ruby 2.1.0dev (2013-09-08) [x86_64-linux]
Hi,
I found a bug in the refinements implementation of Ruby 2.1.0. It is related to https://bugs.ruby-lang.org/issues/8722. On ruby 2.0.0p0 (2013-02-24 revision 39474) this does not occur.
The VM segfaults when the attached code is...
Anonymous
04:23 PM Feature #8846: Publicize Module#include
Hello Marc-Andre,

On 2013/09/01 4:20, marcandre (Marc-Andre Lafortune) wrote:
>
> Issue #8846 has been updated by marcandre (Marc-Andre Lafortune).
>
>
> Great :-)
>
> Taking Rails as an example, I find that the next ...
duerst (Martin Dürst)
02:22 PM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
I'm running arch 88f6281 so the toolchain includes GCC 4.2.1. If you're stuck, just give spksrc a shot to check the Ruby configure.log etc. moneytoo (Marcel Dopita)
08:21 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
Would you mind telling me which gcc you're using?
barbecuesteve (Steve Sparks)
07:57 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
Well, the detection of atomic operations is working fine with Synology toolchain for me. I guess you should be able to override atomic builtins in configure. moneytoo (Marcel Dopita)
12:33 PM Revision 888e5cbb (git): * process.c: Remove spaces between SI prefix and unit to follow
SI brochure.
http://www.bipm.org/en/si/si_brochure/
https://www.nmij.jp/library/units/si/
* time.c: Ditto.
* ext/socket/ancdata.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:56 AM Revision a71ee2ce (git): vm_method.c: clear cache after refine method
* vm_method.c (rb_add_refined_method_entry): clear cache in the
refined class since refining a method entry is modifying the class.
[ruby-core:57079] [Bug #8880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42896 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
05:47 AM Revision d968e9ec (git): complex.c: fix typo
* complex.c (nucomp_real_check): fix a variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Revision f3c33344 (git): vm_insnhelper.c: debugging
* vm_insnhelper.c (vm_method_cfunc_entry): check method type if
debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Revision c2b4d381 (git): eval.c, vm_insnhelper.c: adjust style
* eval.c (rb_refinement_module_get_refined_class): adjust style.
* vm_insnhelper.c (vm_profile_show_result): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 AM Revision 2b5c2ebf (git): complex.c, rational.c: use RB_TYPE_P
* complex.c, rational.c: use RB_TYPE_P() for special classes instead
of switch with TYPE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:40 AM Bug #8875 (Assigned): Select is not usable with SSLSocket
drbrain (Eric Hodel)
12:15 AM Revision 8a1f04bb (git): * 2013-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:15 AM Revision 55291545 (git): rbinstall.rb: add date
* tool/rbinstall.rb (Gem::Specification#initialize): default date to
RUBY_RELEASE_DATE. [ruby-core:57072] [Bug #8878]
* tool/rbinstall.rb (Gem::Specification#to_ruby): add date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42890...
nobu (Nobuyoshi Nakada)

09/08/2013

11:14 PM Bug #8875: Select is not usable with SSLSocket
akr (Akira Tanaka) wrote:
> 2013/9/8 headius (Charles Nutter) <[email protected]>:
> ...
I would agree, except that users are shown, through examples online and in source, that SSLSocket is "IO-like" and can be used anywhere an IO ca...
headius (Charles Nutter)
07:03 AM Bug #8875: Select is not usable with SSLSocket
2013/9/8 headius (Charles Nutter) <[email protected]>:

> In JRuby, my first fix was to make IO.select aware of SSLSocket's native buffers by adding a method to query if SSLSocket had buffered data itself. This adds the socket to th...
akr (Akira Tanaka)
05:23 AM Bug #8875: Select is not usable with SSLSocket
"headius (Charles Nutter)" <[email protected]> wrote:
> However, the buffering issue is harder to fix. I believe buffering.rb
> needs to go away entirely, or at least needs to not buffer data on its
> own.

I think so, too. ...
normalperson (Eric Wong)
03:02 AM Bug #8875: Select is not usable with SSLSocket
See also recent comments on http://jira.codehaus.org/browse/JRUBY-6874 headius (Charles Nutter)
02:57 AM Bug #8875: Select is not usable with SSLSocket
I have been experimenting with some fixes for this.
In JRuby, my first fix was to make IO.select aware of SSLSocket's native buffers by adding a method to query if SSLSocket had buffered data itself. This adds the socket to the list o...
headius (Charles Nutter)
02:17 AM Bug #8875 (Rejected): Select is not usable with SSLSocket
Because of the various levels of buffering SSLSocket employs, it is not possible to reliably use IO.select to check when it has data available.
SSLSocket wraps a normal IO that it uses for reading and writing unencrypted data. This IO...
headius (Charles Nutter)
09:37 PM Bug #8877 (Closed): OptionParser::Version should not rely on SVN
This issue was solved with changeset r42889.
Hiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
optparse.rb: remove $Id$
* lib/optparse.rb (OptionParser): remov...
nobu (Nobuyoshi Nakada)
12:26 PM Bug #8877 (Closed): OptionParser::Version should not rely on SVN
=begin
Currently, (({OptionParser::Version})) is ((<defined|URL:https://github.com/ruby/ruby/blob/2b44bbf/lib/optparse.rb#L215-L216>)) by:
RCSID = %w$Id$[1..-1].each {|s| s.freeze}.freeze
Version = (RCSID[1].split('.').collect {...
hasari (Hiro Asari)
12:37 PM Revision d1f2021b (git): optparse.rb: remove $Id$
* lib/optparse.rb (OptionParser): remove constants depending on $Id$.
[Bug #8877]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:52 AM Revision 3fa0edda (git): rat.c: suppress warning
* ext/-test-/rational/rat.c (big): used only if GMP is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:23 AM Bug #8876: bundle exec rake spec
If I remove "awesome_print" gem I got
/Users/franco/.rvm/rubies/ruby-1.9.3-p448/bin/ruby -S rspec ./spec/features/home_page_spec.rb ./spec/features/sign_in_spec.rb ./spec/features/timeline_spec.rb
/Users/franco/.rvm/gems/ruby-1.9.3-p...
fbrusatti (Franco Brusatti)
09:23 AM Bug #8876: bundle exec rake spec
If I remove "awesome_print" gem I got
/Users/franco/.rvm/rubies/ruby-1.9.3-p448/bin/ruby -S rspec ./spec/features/home_page_spec.rb ./spec/features/sign_in_spec.rb ./spec/features/timeline_spec.rb
/Users/franco/.rvm/gems/ruby-1.9.3-p...
fbrusatti (Franco Brusatti)
09:15 AM Bug #8876 (Rejected): bundle exec rake spec
I got the following when run "bundle exec rake spec". The same happens with ruby-1.9.3-p0
/Users/franco/.rvm/rubies/ruby-1.9.3-p448/bin/ruby -S rspec ./spec/features/home_page_spec.rb ./spec/features/sign_in_spec.rb ./spec/features/...
fbrusatti (Franco Brusatti)
07:54 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
Okay, I fiddled with the 'configure' file so that stack_protector came out broken. It quieted those entries but then died on our old friend
__sync_val_compare_and_swap_4
... suggestions?
barbecuesteve (Steve Sparks)
03:06 AM Bug #8852: Synology build of ruby-2.0.0-p247 is failing
Sorry, I am a Ruby newb, using RVM to handle the build details. I should do what, where? barbecuesteve (Steve Sparks)
07:02 AM Revision 8953eee6 (git): * rational.c (f_gcd): Relax the condition to use GMP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:06 AM Revision 04976ab6 (git): * ext/win32ole/win32ole.c (folevariant_initialize): check type of
element of array.
* test/win32ole/test_win32ole_variant.rb (test_s_new_ary): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
04:39 AM Revision f41a2574 (git): Updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:54 AM Revision c95d5b25 (git): common.mk, win32/Makefile.sub: refix sizez.c for nmake
* common.mk (sizes.c): revert r42854 and r42883.
* win32/Makefile.sub (sizes.c): rule for outplace build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:00 AM Bug #8867: Mailing lists' controller addresses not working
I see :) I hope you do not mind me elaborating further:
At the bottom of e.g. http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml, the
* "Help for this mailing list",
* "Mail to Mailing List's Controller", and
* "Join...
stomar (Marcus Stollsteimer)
02:09 AM Bug #8867: Mailing lists' controller addresses not working
Sorry, by 'blade' i mean http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ steveklabnik (Steve Klabnik)
02:14 AM Bug #8874 (Closed): libruby.so.2.0 variable.c segmentation faults in production with rails (ruby-2.0.0-p247)
Recently upgraded rails application from ruby-2.0.0-p195 to ruby-2.0.0-p247 and seeing frequent segmentation faults now when rails action-4.0.0 calls the inspect method which loops through all the variables.
/var/www/pointshound/share...
odog (Owen Tran)

09/07/2013

11:01 PM Bug #8854: Update URL for bug reports
Snapshots in http://web.archive.org/web/*/http://www.ruby-lang.org/bugreport.html
redirect to http://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport before jekyll.
znz (Kazuhiro NISHIYAMA)
05:08 PM Bug #8854: Update URL for bug reports
@naruse, @zzak
I propose to (again) change error.c to match r42802 (i.e. using 'bugs.ruby-lang.org').
stomar (Marcus Stollsteimer)
10:03 PM Revision 2b44bbf6 (git): common.mk: in-place build
* common.mk (sizes.c): try to fix for in-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:52 PM Revision 2a9cefd5 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:48 PM Revision e5d327f4 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:08 PM Revision 52fe68a7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:04 PM Revision 6bca9dc3 (git): thread.c: invert
* ext/thread/thread.c (queue_pop_should_block): the first argument of
Queue#pop is non_block and inverted for should_block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:04 PM Revision 398c3cab (git): thread.c: function cast
* ext/thread/thread.c (queue_sleep): get rid of casting function
pointer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:04 PM Revision 9b6ee42d (git): numeric.c: use positive_int_p
* numeric.c (NUM_STEP_SCAN_ARGS): use positive_int_p() to fix rubyspec
failures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:04 PM Revision ba6c7348 (git): numeric.c: no extra checks
* numeric.c (NUM_STEP_SCAN_ARGS): remove extra class checks, which
cause the incompatibilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:04 PM Revision 622a2af0 (git): * 2013-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:04 PM Revision e1460152 (git): bignum.c, math.c: RB_BIGNUM_TYPE_P
* bignum.c, math.c (RB_BIGNUM_TYPE_P): predicate macro like
RB_FLOAT_TYPE_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:04 PM Revision c26293dc (git): bignum.c, math.c: type predicates
* bignum.c, math.c: use type predicate macros instead of TYPE().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:04 PM Revision a77ae1ec (git): bignum.c: split rb_big_fdiv and big_fdiv
* bignum.c (rb_big_fdiv): split with big_fdiv by divider type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:59 PM Bug #8867: Mailing lists' controller addresses not working
> The website should be updated, though
I updated the crucial information on
http://www.ruby-lang.org/en/community/mailing-lists/manual-instructions/
However, I do not have the time to do a more thorough rewrite right now
(this p...
stomar (Marcus Stollsteimer)
01:38 PM Feature #8657: Make Find.find respect the encodings of arguments
=begin
[[ruby:DevelopersMeeting20130831Japan]]でacceptされたのでコミットしました。
=end
ktsj (Kazuki Tsujimoto)
01:34 PM Feature #8657 (Closed): Make Find.find respect the encodings of arguments
This issue was solved with changeset r42866.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/find.rb (Find.find): respect the encodings of arguments.
...
ktsj (Kazuki Tsujimoto)
12:34 PM Revision 0e02d923 (git): * math.c (math_log): Test the sign for bignums.
(math_log2): Ditto.
(math_log10): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:26 AM Revision 08e3cb69 (git): * math.c (math_log): Support bignums bigger than 2**1024.
(math_log2): Ditto.
(math_log10): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:41 AM Feature #8871 (Closed): Server side TCP fast open
This issue was solved with changeset r42865.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/mkconstants.rb (TCP_FASTOPEN): Defined for TCP fas...
akr (Akira Tanaka)
05:23 AM Feature #8871: Server side TCP fast open
"Glass_saga (Masaki Matsushita)" <[email protected]> wrote:
> https://bugs.ruby-lang.org/issues/8871

> I propose that ruby support server side TCP fast open (TFO).
> TCP fast open reduces step of the handshake process.

...
normalperson (Eric Wong)
01:05 AM Feature #8871 (Closed): Server side TCP fast open
I propose that ruby support server side TCP fast open (TFO).
TCP fast open reduces step of the handshake process.
detailed information about TCP fast open: http://lwn.net/Articles/508865/
# example
## server side
require "so...
Glass_saga (Masaki Matsushita)
06:44 AM Revision 66915c50 (git): * vm_eval.c (vm_call0): fix prototype, the id parameter should be of
type ID, not VALUE
* vm_insnhelper.c (check_match): the rb_funcall family of functions
does not care about refinements. We need to use
rb_method_entry_with_refinements instead to call === with
refinements. Thanks to Jon Conley for...
Charlie Somerville
04:58 AM Revision c65e9bbf (git): * doc/security.rdoc: [DOC] fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
04:58 AM Revision 113b1c76 (git): * variable.c (classname): the name of class that has
non class id should not be nil. This bug was introduced
in r36577.
* test/thread/test_cv.rb: test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
04:34 AM Revision 0a4801e7 (git): * lib/find.rb (Find.find): respect the encodings of arguments.
[ruby-dev:47530] [Feature #8657]
* test/test_find.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
04:02 AM Bug #8870: Method-Missing breaking irb
Array#flatten tries to call #to_ary method on non-Array arguments, but the result of `m.to_s' doesn't have it, so the method_missing is called, and continues infinitely.
In short, do not redefine global method_missing method.
nobu (Nobuyoshi Nakada)
01:41 AM Revision dd946739 (git): * ext/socket/mkconstants.rb (TCP_FASTOPEN): Defined for TCP fast open.
[ruby-core:57048] [Feature #8871] patch by Masaki Matsushita.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:15 AM Feature #3620 (Closed): Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
This issue was solved with changeset r42862.
Ricardo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY ...
Anonymous
 

Also available in: Atom