Project

General

Profile

Activity

From 05/06/2013 to 05/12/2013

05/12/2013

11:54 PM Feature #8391: Introduce Object.singleton_method(:sym)
I like this idea.
Matz.
matz (Yukihiro Matsumoto)
04:32 AM Feature #8391: Introduce Object.singleton_method(:sym)
It's not a syntax issue. nobu (Nobuyoshi Nakada)
01:00 AM Feature #8391 (Closed): Introduce Object.singleton_method(:sym)
=begin
In the code below:
module A
def self.hello end
def world end
end
We can reflect on the instance method like so:
A.instance_methods # => [:world]
A.instance_method :world # => #<UnboundMet...
stephenmurdoch (stephen murdoch)
11:54 PM Feature #8396: Allow easier destructuring of MatchData
I like the basic idea, but #to_ary is a method to convert into array implicitly, that means it expect the receiver provides array behavior. MatchObject does not behave like Array.
Maybe we should add another implicit conversion method ...
matz (Yukihiro Matsumoto)
06:49 PM Feature #8396 (Feedback): Allow easier destructuring of MatchData
=begin
((*(I have opened ((<"a PR for this on GH @ rails/rails"|URL:https://github.com/ruby/ruby/pull/300>)) for this but @marcandre closed it and suggested I submit it here. I'll copy my proposal text here.)*))
Currently, you can ...
goshakkk (Gosha Arinich)
11:53 PM Bug #8397 (Closed): TestBignum#test_interrupt_during_bigdivrem failure
稀に、TestBignum#test_interrupt_during_bigdivrem が失敗することがあるようです。
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130509T193301Z.log.html.gz
で見つけました。
8) Failure:
test_interrupt_during_bigdivrem(TestBignum) [/usr/home/chkbuild/bu...
akr (Akira Tanaka)
06:07 PM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
Nobu you don't need the requires to reproduce. This is simply the same thing:
#!/usr/bin/env ruby
class Animal
def bark
puts 'fuck.'
end
end
module Bark
class Dog < Animal
end
end
module Bark
class Anima...
injekt (Lee Jarvis)
05:41 PM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
jeremyevans0: That's what I did when I found a problem caused by this on production code. Nonetheless you have to take into account that sometimes the order of the requires is not something you control.
nobu: In order to get these re...
eLobato (Daniel Lobato Garcia)
11:34 AM Feature #8393 (Feedback): A class who's parent class is in a module can go wrong if files are required in the wrong order
It's a feature by the design.
I can't get what you expect from your code.
You will need more concrete proposal.
nobu (Nobuyoshi Nakada)
11:28 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
This isn't a bug. If you load animal.rb then dog.rb, at the point Bark::Dog is defined, Bark::Animal does not exist, so it finds Animal at the top level (standard ruby constant lookup). If you want to force the behavior you desire, you... jeremyevans0 (Jeremy Evans)
09:39 AM Feature #8393 (Rejected): A class who's parent class is in a module can go wrong if files are required in the wrong order
Hi,
I have found that inheritance is not done properly in a certain case. Let's say we have the following files:
--------------
animal.rb -
class Animal
def bark
puts 'fuck.'
end
end

dog.rb -
module Bark
...
eLobato (Daniel Lobato Garcia)
01:51 PM Revision 00096bdf (git): * ChangeLog: fix a typo of r40667.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:43 PM Revision 25e5b667 (git): merge revision(s) 40664:
* signal.c (rb_f_kill): fixes typo. s/HAS_KILLPG/HAVE_KILLPG/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:47 PM Feature #8394 (Closed): use String#b instead of dup.force_encoding("ASCII-8BIT")
dup.force_encoding("ASCII-8BIT") を使っているところは b を使えば良いのではないかと思ったのですが、どうでしょうか?
diff --git a/lib/cgi/util.rb b/lib/cgi/util.rb
index 7de6fc7..bb5df37 100644
--- a/lib/cgi/util.rb
+++ b/lib/cgi/util.rb
@@ -6,7 +6,7 @@ module CGI::Util
...
znz (Kazuhiro NISHIYAMA)
12:29 PM Revision baf52faa (git): merge revision(s) 40652:
fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:13 PM Revision d2b4011a (git): ruby.h: OFFT2NUM redefinition
* include/ruby/ruby.h (OFFT2NUM): RUBY_REPLACE_TYPE also defines macro
to convert int type to VALUE if found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:47 AM Revision fa1e2d95 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:02 AM Revision 2b881310 (git): * include/ruby/intern.h (rb_iv_set, rb_iv_get): removed. Bcause
ruby.h has a declaration for that.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:01 AM Revision f3c9bb06 (git): * include/ruby/intern.h (rb_uint2big, rb_int2big, rb_uint2inum)
(rb_int2inum, rb_ll2inum, rb_ull2inum): removed because ruby.h
has a declaration for these.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:53 AM Revision 6591e26e (git): * configure.in: removes 'ac_cv_func_fseeko=yes' form MinGW
specific definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:42 AM Revision 96ffcf55 (git): * file.c (rb_file_s_truncate): use correct type. chsize takes
a long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:42 AM Revision 93d061a8 (git): * process.c: move '#define SPAWNV 1' to win32/Makefile.sub.
* win32/Makefile.sub: see above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:42 AM Revision 82330e91 (git): * configure.in: removes AC_CHECK_FUNCS(setitimer) because it's
unsed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:41 AM Revision 3f6b5aa2 (git): * configure.in: removes AC_CHECK_FUNCS(pause) because it's unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
08:41 AM Revision c0a30fcb (git): * signal.c (rb_f_kill): fixes typo. s/HAS_KILLPG/HAVE_KILLPG/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
08:41 AM Revision 59a3943a (git): * configure.in: abort if gettimeofday doesn't exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
08:41 AM Revision 05628d3b (git): * configure.in: removes AC_CHECK_FUNC(ftruncate64).
* configure.in: adds RUBY_REPLACE_TYPE(off_t) for creating
NUM2OFFT.
* file.c (rb_file_truncate): use correct type. chsize() take
a long.
* include/ruby/ruby.h (NUM2OFFT): use a definition created by
a configure script by default.
...
kosaki (Motohiro KOSAKI)
08:41 AM Revision e79f7907 (git): * configure.in: removes AC_CHECK_FUNC(fseeko, fseeko64, ftello,
ftello64). They are not used from anywhere.
* win32/win32.c (fseeko): removes.
* win32/win32.c (rb_w32_ftello): removes.
* include/ruby/win32.h: removes declarations of rb_w32_ftello and
rb_w32_fseeko.
* win32/Makefile.sub: removes '#...
kosaki (Motohiro KOSAKI)
08:40 AM Revision 2d0c7e37 (git): * configure.in: remove AC_CHECK_FUNC(close). It is not used from
anywhere.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:40 AM Revision f15d3ff9 (git): * configure.in: adds comments for setjmp check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
08:40 AM Revision a79cccb5 (git): * configure.in: move clock_gettime() check into regular place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
08:40 AM Revision 7776ca93 (git): * configure.in: add getenv() declaration check.
* dln_find.c: add HAVE_DECL_GETENV test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:40 AM Revision fa5db016 (git): * configure.in: sorts AC_CHECK_FUNCS()s as alphabetical order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
08:40 AM Revision 2f6cab0f (git): * bignum.c: remove redundant decl for big_lshift() big_rshift().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
07:34 AM Bug #8392 (Closed): stdlib's 'forwardable' documentation has a bad example
=begin
As this is a problem with the documentation, there are no steps required to reproduce it.
My Ruby version is currently ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin11.4.2], but this documentation problem appears to hav...
miragliuolo1 (Joe Miragliuolo)
07:09 AM Revision 5aa61881 (git): * ext/socket/rubysocket.h (rsock_inspect_sockaddr): as r40646
check HAVE_TYPE_STRUCT_SOCKADDR_DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:33 AM Revision 7da67443 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:33 AM Revision 6210fc9f (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:11 AM Feature #8377: Deprecate :: for method calls in 2.1
jballanc (Joshua Ballanco) wrote:
> If we remove the ability to call methods with (({::})), then the class definition lines don't match as nicely:
> ...
I'm against removing it, since I think there are places where the syntax looks nic...
jeremyevans0 (Jeremy Evans)
12:12 AM Feature #8377: Deprecate :: for method calls in 2.1
=begin
I'm not sure how I feel about this. I understand the potential for confusion, but at the same time there's a certain congruity of being able to inherit from classes or methods that create classes in the same way. For example:
...
jballanc (Joshua Ballanco)
01:44 AM Revision b9a34fd7 (git): fixed wrong document for Socket.tcp by @lann [fix GH-302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

05/11/2013

10:29 PM Bug #7423: ruby_process_options() dereferences argv even if argc is zero
This bug fix is neither on the (complete) Roadmap nor reported under the "Bugs unassociated with any target version". I'm afraid it should be reopened in order to get on the radar for a release. RolandH (Roland Hautz)
07:33 PM Revision 7fc0105f (git): merge revision(s) 40606,40607,40635: [Backport #8375]
test_scanner_events.rb: assert_location
* test/ripper/test_scanner_events.rb (TestRipper#assert_location):
rename so skipped in backtraces.
* parse.y (parser_yylex): fail if $, @, @@ are not followed by a valid
...
nagachika (Tomoyuki Chikanaga)
06:28 PM Revision 8f88edf0 (git): * 2013-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:28 PM Revision 5b20e5e1 (git): raddrinfo.c: suppress warnings
* ext/socket/raddrinfo.c (rsock_inspect_sockaddr): cast down
explicitly to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:12 PM Revision 1c0abbf0 (git): merge revision(s) 39636,39741,40454: [Backport #8071] [Backport #8387]
configure.in: suppress error messages
* configure.in: suppress error messages, rm: cannot remove
'conftest.dSYM', from AC_EGREP_CPP with CFLAGS=-g on Darwin.
* configure.in (rm, shvar_to_cpp, unexpand_shvar): local is ...
nagachika (Tomoyuki Chikanaga)
05:33 PM Feature #8368: Socket.getifaddrs
It seems no one against for this method and naruse-san (the release manager of Ruby 2.1.0) supported.
I added Socket.getifaddrs.
akr (Akira Tanaka)
05:32 PM Feature #8368 (Closed): Socket.getifaddrs
This issue was solved with changeset r40639.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket: New method, Socket.getifaddrs, implemented.
[rub...
akr (Akira Tanaka)
04:04 PM Bug #8364: Vim's if_ruby feature sometimes crash.
Hiroshi,
Thank you for fixing and reporting to vim_dev.
Anonymous
02:07 PM Revision 037ce7f6 (git): * ext/socket/rubysocket.h (HAVE_TYPE_STRUCT_SOCKADDR_DL):
MSVC has struct sockadddr_dl, but its content is broken.
http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130511T103938Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:08 PM Revision 975e43b8 (git): * test/rinda/test_rinda.rb: Socket.getifaddrs may returns an interface
which #addr method returns nil for venet0 in OpenVZ.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:04 PM Revision 26cb14f8 (git): * ext/socket/raddrinfo.c (rsock_inspect_sockaddr): Add casts to
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:02 PM Revision e3a2145d (git): Add debug print to investigate a failure on Travis-CI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:51 AM Revision ae17f7ab (git): Simplify test with Socket.getifaddrs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:20 AM Revision 2977c53b (git): Describe Socket.getifaddrs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:50 AM Revision a4501a75 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:32 AM Revision b323d7d5 (git): * ext/socket: New method, Socket.getifaddrs, implemented.
[ruby-core:54777] [Feature #8368]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:50 AM Revision fade664f (git): disable test_fcntl_lock_linux on x32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

05/10/2013

08:11 PM Bug #8386 (Closed): OpenSSL thread safety
As some might know, Rubinius uses a lot of MRI's C extensions that are part of stdlib and ships them as well. Rubinius however does not have a GIL, so thread safety issues in C extensions are much more important.
This patch fixes a th...
dbussink (Dirkjan Bussink)
07:01 PM Feature #8321: Ripper: I would like coordinates for keywords
I'm keeping an eye on Parser and I hope that one day we'll be able to use it in RuboCop https://github.com/bbatsov/rubocop to be able to support all Rubies out there.
As far as I know, however, Parser is now yet production ready, so I'd...
bozhidar (Bozhidar Batsov)
04:53 PM Feature #8321: Ripper: I would like coordinates for keywords
On Fri, May 10, 2013 at 9:13 AM, bozhidar (Bozhidar Batsov) <
bozhidar@batsov.com> wrote:

>
> Issue #8321 has been updated by bozhidar (Bozhidar Batsov).
>
>
> The example outlined in the proposal is exactly what I think ...
judofyr (Magnus Holm)
04:13 PM Feature #8321: Ripper: I would like coordinates for keywords
The example outlined in the proposal is exactly what I think we need. A lot of Ruby code analysis tools need exact coordinates of keywords and currently there is no easy and reliable way to get them. This is even more important, now th... bozhidar (Bozhidar Batsov)
03:50 PM Revision 690b663c (git): * 2013-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 PM Revision b1dd4c92 (git): * gc.h (SET_MACHINE_STACK_END): Add !defined(_ILP32) to a defining
condition to avoid compilation error on x32.
https://sites.google.com/site/x32abi/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:56 PM Revision ecddb967 (git): parse.y: invalid name as mere string
* parse.y (parser_peek_variable_name): treat invalid global, class,
and instance variable names as mere strings rather than errors.
[ruby-core:54885] [Bug #8375]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40635 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
02:56 PM Revision 0542f05b (git): parse.y: lex_state macros
* parse.y (parser_yylex): use IS_lex_state() and IS_lex_state_for()
instead of direct comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:31 AM Bug #8383 (Rejected): Ripper.lex does not handle correctly symbols whose identifiers coincide with keyword names
Duplicates #6306. nobu (Nobuyoshi Nakada)
11:24 AM Revision 980bf275 (git): * configure.in: Move library checks into "Checks for libraries." part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:33 AM Revision 695ad02d (git): * configure.in: Reformat arguments of AC_CHECK_HEADERS and
AC_CHECK_FUNCS to track modifications easily.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:35 AM Feature #8382: Format OpenStruct YAML dump and create getters and setters after load.
Interesting feature request.
This reasoning would also apply to all stdlib classes, like Set, Matrix, ... right?
I'm not sure it's a big issue, but a patch like this would make yaml serialization both backwards and forwards incompa...
marcandre (Marc-Andre Lafortune)
03:01 AM Revision 093beeda (git): * configure.in: Don't link librt if clock_gettime is available in
the main C library.
glibc 2.17 moves clock_* from librt to the main C library.
http://sourceware.org/ml/libc-announce/2012/msg00001.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:48 AM Revision 14c9944e (git): * test/dtrace/helper.rb: ignore empty SUDO. reuse SUDO value by using
class variable. use test/unit instead of minitest/autorun. dispose
`Interrupted system call' error messages at parallel test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 AM Feature #8377: Deprecate :: for method calls in 2.1
This is related and has not yet been rejected: #6806 alexeymuranov (Alexey Muranov)
01:22 AM Feature #8377: Deprecate :: for method calls in 2.1
headius (Charles Nutter) wrote:
> More cases of ambiguity:
> ...
`obj::FOO 1` is a method call. You don't even need parens for a capitalized method that takes no arguments if you get creative: `obj::FOO *[]` :)
jeremyevans0 (Jeremy Evans)
12:50 AM Feature #8377: Deprecate :: for method calls in 2.1
More cases of ambiguity:
obj::FOO is always a constant lookup. obj::FOO() is always a method call.
obj::foo is always a method call. There's no way to omit parens for a :: call if the method name is capitalized.
I support remova...
headius (Charles Nutter)
12:55 AM Revision 95b690d2 (git): * 2013-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision 8daa0d49 (git): Fixed minitest dependency bug by removing env PARALLEL checks (no clue why that was there). Exactly the same minitest code tho.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis

05/09/2013

11:20 PM Bug #8242 (Assigned): Fix rdoc of Range#bsearch
zzak (zzak _)
11:11 PM Feature #8377: Deprecate :: for method calls in 2.1
> we haven't reached consensus to remove double colons for method calls from the language.
That's what this issue is about, isn't it?
> ...
I agree. But deprecating it would already be beneficial.
> we have convention of Array c...
dgutov (Dmitry Gutov)
10:13 PM Feature #8377: Deprecate :: for method calls in 2.1
* we haven't reached consensus to remove double colons for method calls from the language.
* even if we do, 2.2 is not the right time to remove, maybe 3.0.
* we have convention of Array class and Array(obj) conversion method, why not F...
matz (Yukihiro Matsumoto)
06:52 PM Feature #8377: Deprecate :: for method calls in 2.1
henry.maddocks (Henry Maddocks) wrote:
> But '.' and '::' mean different things.
> ...
This isn't correct. Nokogiri.XML() and Nokogiri::XML() are equivalent.
Anonymous
05:59 PM Feature #8377: Deprecate :: for method calls in 2.1
Although in PHP you can also abuse the `::` for both static and non
static method calls it's actually not used for namespaces (unlike Ruby),
instead it uses backslashes for that. Although this means that there's
still two ways to ...
yorickpeterse (Yorick Peterse)
05:54 PM Feature #8377: Deprecate :: for method calls in 2.1
rubiii (Daniel Harrington) wrote:
> I'm also very much in favour of this change for simplicity.
> ...
But '.' and '::' mean different things.
'::' means you are calling the method that is defined inside the Nokogiri module/namespace...
henry.maddocks (Henry Maddocks)
05:35 PM Feature #8377: Deprecate :: for method calls in 2.1
phluid61 (Matthew Kerwin) wrote:
> =begin
> ...
C++ and PHP also use the scope resolution operator.
As for the rest of what you said, I don't understand.
henry.maddocks (Henry Maddocks)
04:13 AM Feature #8377: Deprecate :: for method calls in 2.1
I'm also very much in favour of this change for simplicity.
When I learned about Nokogiri, I had no idea how this was supposed to work: Nokogiri::XML('<xml/>')
Simply changing the code to use a '.' instead of '::' makes it clear, tha...
rubiii (Daniel Harrington)
04:13 AM Feature #8377: Deprecate :: for method calls in 2.1
+1
Apart from having no advantages over ".", "::" for method calls is very rarely used even anyways. It has been effectively deprecated by the Ruby community and it now has to be deprecated by Ruby itself :-)
bozhidar (Bozhidar Batsov)
10:23 PM Feature #4840: Allow returning from require
On May 9, 2013 12:14 PM, "nobu (Nobuyoshi Nakada)" <nobu@ruby-lang.org>
wrote:
>
>
> Issue #4840 has been updated by nobu (Nobuyoshi Nakada).
>
> File 0001-compile.c-toplevel-return.patch added
>
> A simple patch.

L...
phluid61 (Matthew Kerwin)
09:41 PM Feature #4840: Allow returning from require
Pretty simple, indeed :) Not that I understand it, just that I appreciate its simplicity ;) rosenfeld (Rodrigo Rosenfeld Rosas)
11:14 AM Feature #4840: Allow returning from require
A simple patch. nobu (Nobuyoshi Nakada)
08:55 PM Bug #8384 (Closed): Cannot build ruby against OpenSSL build with "no-ec2m"
=begin
Due to recent changes in OpenSSL configuration options for Red Hat Enterprise Linux, I cannot build Ruby anymore.
These are the relevant changes in OpenSSL configuration:
@@ -227,7 +234,7 @@ sslarch=linux-ppc64
./Config...
vo.x (Vit Ondruch)
06:08 PM Bug #8383: Ripper.lex does not handle correctly symbols whose identifiers coincide with keyword names
On a related note I don't think this works correctly with method definitions as well:
[30] pry(main)> Ripper.lex('def alias(arg)')
=> [[[1, 0], :on_kw, "def"],
[[1, 3], :on_sp, " "],
[[1, 4], :on_kw, "alias"],
[[1, 9], :on_lpar...
bozhidar (Bozhidar Batsov)
05:51 PM Bug #8383 (Rejected): Ripper.lex does not handle correctly symbols whose identifiers coincide with keyword names
This problem is best illustrated with an example
[23] pry(main)> Ripper.lex(':one')
=> [[[1, 0], :on_symbeg, ":"], [[1, 1], :on_ident, "one"]]
[24] pry(main)> Ripper.lex(':alias')
=> [[[1, 0], :on_symbeg, ":"], [[1,...
bozhidar (Bozhidar Batsov)
02:54 PM Revision 2c240c5e (git): merge revision(s) 40612,40614: [Backport #8025]
* class.c (rb_mod_included_modules): should not include the original
module itself. [ruby-core:53158] [Bug #8025]
* class.c (rb_mod_included_modules): should not include non-modules.
[ruby-core:53158] [Bug #...
nagachika (Tomoyuki Chikanaga)
01:01 PM Revision 2ffbe034 (git): * ext/socket/ancdata.c (bsock_sendmsg_internal): controls_num should
not be negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:12 PM Revision bfb334ee (git): * file.c, ext/etc/etc.c, ext/socket/unixsocket.c,
ext/openssl/ossl.h, ext/openssl/openssl_missing.c: Use
HAVE_AGGREGATE_MEMBER instead of HAVE_ST_MEMBER.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:48 AM Revision adb575e2 (git): * ext/socket/ancdata.c (bsock_sendmsg_internal): Always set
controls_num to raise NotImplementedError appropriately.
(bsock_recvmsg_internal): Raise NotImplementedError if
:scm_rights=>true is given on platforms which don't have
4.4BSD style control message.
git-svn-id: svn+ssh://ci.ruby-...
akr (Akira Tanaka)
11:30 AM Bug #8381 (Closed): mistake in ruby doc - String#=== is missing
This issue was solved with changeset r40622.
Georgia, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c: Add call-seq alias for String#=== [Bug #8381]
zzak (zzak _)
10:57 AM Feature #8321: Ripper: I would like coordinates for keywords
=begin
Do you mean changing following code from `((|current|))' to `((|proposal|))'?
*code
Ripper.sexp(<<SRC)
if some
test
elsif yet
another
else
test
end
SRC
*current
[:program,
[
[:if,
[:vc...
nobu (Nobuyoshi Nakada)
04:25 AM Feature #8321: Ripper: I would like coordinates for keywords
Here's an example:
[6] pry(main)> Ripper.sexp('alias :some :test')
=> [:program,
[[:alias,
[:symbol_literal, [:symbol, [:@ident, "some", [1, 7]]]],
[:symbol_literal, [:symbol, [:@ident, "test", [1, 13]]]]]]]
Using the fi...
bozhidar (Bozhidar Batsov)
03:08 AM Revision a5e6d48d (git): * ext/socket/rubysocket.h, ext/socket/unixsocket.c,
ext/socket/ancdata.c: Use HAVE_STRUCT_MSGHDR_MSG_CONTROL instead
of HAVE_ST_MSG_CONTROL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:30 AM Revision 029ad63b (git): * string.c: Add call-seq alias for String#=== [Bug #8381]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:18 AM Revision 8e564e3a (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:15 AM Revision 119f6751 (git): * doc/contributing.rdoc: Add guide for contributing to CRuby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:02 AM Feature #8324: Net::Telnet.new のオプション
両方で受け付けるようにすると、両方指定された時にどちらを優先するのかという問題がありそうです。
CGI::Cookie.new のように他にもキーとして String のみ受け付けるものがあるようなので、
何か統一した方針で対応した方が良さそうな気がしました。
znz (Kazuhiro NISHIYAMA)

05/08/2013

11:42 PM Feature #8377: Deprecate :: for method calls in 2.1
+1
"::" method call syntax has no advantages over ".", and it should be relatively simple to search through any codebase and convert the instances of using the former into the latter automatically.
dgutov (Dmitry Gutov)
06:23 PM Feature #8377: Deprecate :: for method calls in 2.1
I'm in favour of deprecating `::` for method calls as well. I'm all for
"multiple roads to Rome" but when it comes to the method calling syntax
I really want it to be consistent.

Actually getting rid of the operator is going to...
yorickpeterse (Yorick Peterse)
11:55 AM Feature #8377: Deprecate :: for method calls in 2.1
=begin
henry.maddocks (Henry Maddocks) wrote:
> charliesome (Charlie Somerville) wrote:
> > (({::})) is usually a constant lookup operator, but it can also be
> > used to call methods.
>
> Is it? I thought it was the scope...
phluid61 (Matthew Kerwin)
09:57 AM Feature #8377: Deprecate :: for method calls in 2.1
+1 Anonymous
08:56 AM Feature #8377: Deprecate :: for method calls in 2.1
charliesome (Charlie Somerville) wrote:
> (({::})) is usually a constant lookup operator, but it can also be used to call methods.
Is it? I thought it was the scope resolution operator.
charliesome (Charlie Somerville) wrote:
> ...
henry.maddocks (Henry Maddocks)
08:53 AM Feature #8377: Deprecate :: for method calls in 2.1
On Wednesday, 8 May 2013 at 4:35 AM, Hanmac (Hans Mackowiak) wrote:
> i am against that, what about methods that are defined in Kernel, but you want when you are inside an BasicObject?
> you need something like:
> Kernel::Array([]...
Anonymous
05:03 AM Feature #8377: Deprecate :: for method calls in 2.1
Hanmac (Hans Mackowiak) wrote:
> i am against that, what about methods that are defined in Kernel, but you want when you are inside an BasicObject?
> ...
You need :: before Kernel, unless you define const_get
::Kernel::Array(3)
A...
Eregon (Benoit Daloze)
03:35 AM Feature #8377: Deprecate :: for method calls in 2.1
i am against that, what about methods that are defined in Kernel, but you want when you are inside an BasicObject?
you need something like:
Kernel::Array([])
or
Kernel.Array([])
what does make more sense for you?
Hanmac (Hans Mackowiak)
11:37 PM Bug #8313 (Assigned): rubygem 2.0 can't communicate with remote sources http://rubygems.org/
nobu (Nobuyoshi Nakada)
11:23 PM Bug #8381: mistake in ruby doc - String#=== is missing
This looks like an rdoc bug that should have been fixed, but I will look into it. Thank you for reporting! zzak (zzak _)
12:26 PM Bug #8381 (Closed): mistake in ruby doc - String#=== is missing
#=== appears in the side bar but the description is a duplicate of #==
http://ruby-doc.org/core-2.0/String.html#method-i-3D-3D-3D
antislice (Georgia A)
10:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/08 20:56), urielka (Uriel Katz) wrote:
> Quick question,wouldn't it be better to add a generation number instead of just a flag?
> The idea is that in the future you could add more generations(most gen GC I know use 3 gener...
ko1 (Koichi Sasada)
08:56 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
Amazing work!
Quick question,wouldn't it be better to add a generation number instead of just a flag?
The idea is that in the future you could add more generations(most gen GC I know use 3 generations)
urielka (Uriel Katz)
07:58 PM Revision f9feb22f (git): error message refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:57 PM Revision 18646d74 (git): * configure.in: Check socket library again. shutdown() is used in
io.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:47 PM Bug #8342 (Closed): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
This issue was solved with changeset r40610.
Leo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (rb_io_ext_int_to_encs): ignore internal encoding if extern...
naruse (Yui NARUSE)
04:55 PM Revision 86d5a05c (git): Update a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:52 PM Revision 6d313a38 (git): * configure.in: Don't check socketpair. socketpair is not used in
ruby command itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:10 PM Bug #8364: Vim's if_ruby feature sometimes crash.
Maybe I found the reason why RUBY_INIT_STACK in rbexe() doesn't work.
`th->machine_stack_start` is set from `native_main_thread.stack_start` in ruby_init().
https://github.com/ruby/ruby/blob/ab750920b9dfdab1117bc39e14bb28195b2b9830...
h.shirosaki (Hiroshi Shirosaki)
04:05 PM Revision 53175b09 (git): * 2013-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 PM Revision e8bdef65 (git): class.c: include modules only
* class.c (rb_mod_included_modules): should not include non-modules.
[ruby-core:53158] [Bug #8025]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 PM Revision 4c1f8acd (git): merge revision(s) 40583,40584,40585,40590: [Backport #8367]
* insns.def (defined): get method entry from the method top level
frame, not block frame. [ruby-core:54769] [Bug #8367]
* insns.def (defined): use vm_search_superclass() like as normal super
call. based on ...
nagachika (Tomoyuki Chikanaga)
02:00 PM Bug #8378 (Closed): json/generator/generator.c: warning: array subscript has type 'char'
This issue was solved with changeset r40609.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/json/generator/generator.c (isArrayOrObject): cast char to...
naruse (Yui NARUSE)
02:00 PM Bug #8379 (Closed): json dependency problem
This issue was solved with changeset r40608.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/json/generator/depend: fix dependencies [Bug #8379]
* ext...
naruse (Yui NARUSE)
01:47 PM Revision 3fd0000c (git): class.c: exclude original module
* class.c (rb_mod_included_modules): should not include the original
module itself. [ruby-core:53158] [Bug #8025]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:12 PM Bug #8376: utc method changes original time object
You can use Time#getutc or #getgm. nobu (Nobuyoshi Nakada)
01:07 PM Feature #8382 (Closed): Format OpenStruct YAML dump and create getters and setters after load.
=begin
Currently Open Struct doesn't format it's YAML output exposing ((|@table|)). It also doesn't create setters and getter like (({#marshal_load})). This patch does both.
=end
pietro (Pietro Monteiro)
12:39 PM Revision 63594606 (git): Add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:47 AM Revision 4834aa53 (git): * io.c (rb_io_ext_int_to_encs): ignore internal encoding if external
encoding is ASCII-8BIT. [Bug #8342]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:00 AM Revision ce573f31 (git): * ext/json/generator/generator.c (isArrayOrObject): cast char to
unsigned char. [Bug #8378]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:59 AM Revision 279c7bdd (git): * ext/json/generator/depend: fix dependencies [Bug #8379]
* ext/json/parser/depend: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:07 AM Revision 85280f4b (git): parse.y: fail if invalid name
* parse.y (parser_yylex): fail if $, @, @@ are not followed by a valid
name character. [ruby-core:54846] [Bug #8375].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:07 AM Revision 4dfd3739 (git): test_scanner_events.rb: assert_location
* test/ripper/test_scanner_events.rb (TestRipper#assert_location):
rename so skipped in backtraces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:06 AM Revision b8bcd920 (git): ruby.h: ISGRAPH
* include/ruby/ruby.h (ISGRAPH): add missing macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/07/2013

11:39 PM Bug #8379 (Closed): json dependency problem
json の Makefile の依存関係ですが、generator.o と parser.o の依存先の
ヘッダファイルが足りないようです。
過不足を調べてくれるスクリプト (update-deps) によれば、以下が足りないようです。
ext/json/generator/generator.o は以下が依存先として記述されていない:
include/ruby.h
include/ruby/ruby.h
.ext/include/i6...
akr (Akira Tanaka)
10:51 PM Revision 2816e539 (git): * 2013-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:51 PM Revision bbcf97fa (git): * ext/socket/socket.c (socket_s_ip_address_list): fix wrongly filled
sin6_scope_id on KAME introduced by r40593 for OpenIndiana.
KAME uses fe80:<scope_id>::<interface id> for link-local address
internally.
Setting sin6_scope_id causes it leaked.
see also comments of sockaddr_obj().
git-svn-id: sv...
naruse (Yui NARUSE)
10:26 PM Bug #8378 (Closed): json/generator/generator.c: warning: array subscript has type 'char'
ふと、cygwin を target とする cross-compile をしてみたところ、
以下の警告を見つけました。
(たぶん cross でなくても警告されると思います)
make[2]: Entering directory `/extdisk/chkbuild/chkbuild/tmp/build/20130507T115727Z/ruby/ext/json/generator'
compiling generator.c
generator.c...
akr (Akira Tanaka)
09:51 PM Bug #8376: utc method changes original time object
I admit this is a bad design, but changing it introduces incompatibility.
We don't consider it as a bug (thus we rejected).
Submit feature request instead, if you really want to change.
Maybe fixed in the future, if we can provide pro...
matz (Yukihiro Matsumoto)
09:39 PM Bug #8376: utc method changes original time object
naruse (Yui NARUSE) wrote:
> Time#utc is destructive method.
> ...
That seems the point of this issue. The behaviour is inconsistent. `t.utc!` should be the way to destroy `t` in the example. This should be changed... ruby isn't PHP.
mosselman (Achilleas Buisman)
07:35 PM Bug #8376 (Rejected): utc method changes original time object
Time#utc is destructive method.
Use dup if you want a copy.
naruse (Yui NARUSE)
07:32 PM Bug #8376 (Rejected): utc method changes original time object
The utc method changes the original time object when called.
For example when on a system with a CET timezone.
t = Time.new(2013)
t.zone # CET
t.utc
t.zone # UTC
arjan0307 (Arjan Diepenbroek)
07:49 PM Feature #8377 (Rejected): Deprecate :: for method calls in 2.1
=begin
(({::})) is usually a constant lookup operator, but it can also be used to call methods. This can confusing to people learning Ruby.
I propose deprecating (({::})) as a method call operator in Ruby 2.1, then removing it in 2.2...
Anonymous
04:49 PM Revision 555035a3 (git): merge revision(s) 40208: [Backport #8380]
* internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.
(MUL_OVERFLOW_FIXNUM_P): Ditto.
(MUL_OVERFLOW_LONG_P): Ditto.
* array.c (rb_ary_product): Don't overflow on signed integer
multiplication.
...
nagachika (Tomoyuki Chikanaga)
04:45 PM Bug #8374 (Assigned): race condition when two threads require a gem
Seems rubygems specific. nobu (Nobuyoshi Nakada)
02:43 PM Bug #8374 (Closed): race condition when two threads require a gem
=begin
Requiring a gem with a C extension seems to be not threadsafe.
Any one of the require lines below will frequently (but not always) cause an error like the following:
/usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/k...
vjoel (Joel VanderWerf)
01:15 PM Revision 42642407 (git): * ext/readline/readline.c (insert_ignore_escape): Add a cast to
unsigned char * before dereference.
This suppress a warning on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:12 PM Bug #8373 (Rejected): Failure to run "rails server"
"[BUG] unknown type 0x22" is most probably T_DATA for ruby 1.8.
You have an extension library (or more) for older ruby.
Try `otool -L` for followings.
1 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin12.2.1/en...
nobu (Nobuyoshi Nakada)
07:47 AM Bug #8373 (Rejected): Failure to run "rails server"
Yesterday, running "rails server" worked. Today it didn't. What happened is the following:
First, I will describe the bug error I have received (and a recommendation to post here), then I will describe the full set of my actions.
I...
surrealdetective (Alex Au)
11:18 AM Revision b6f0a306 (git): * test/ruby/test_thread.rb (invoke_rec): extend timeout 10 -> 50 sec,
to investigate test failure on rubyci.
http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-2.0.0-m64-o0/log/20130507T052909Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40600 b2dd03c8-39d4-4d8f-98ff-823...
nagachika (Tomoyuki Chikanaga)
10:03 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
=begin
Thank you for valuable input.
That indicates the need for something like (({str.strip(:ascii)})), or opposite (({str.strip(:utf8)}))
Matz.
=end
matz (Yukihiro Matsumoto)
01:59 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
matz (Yukihiro Matsumoto) wrote:
> Akira, Thank you for pointing out.
> ...
Modern protocol like SMTPUTF8 <http://tools.ietf.org/html/rfc6532> and URL Standard <http://url.spec.whatwg.org/>
use UTF-8 as its character encoding, but the...
naruse (Yui NARUSE)
01:12 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Akira, Thank you for pointing out.
But it's hard for me to imagine concrete problematic cases.
When text from network connection is marked as Unicode, that's OK to process them as Unicode text,
otherwise they should be marked as 'AS...
matz (Yukihiro Matsumoto)
03:41 AM Bug #8372 (Rejected): Segmentation fault with Factory Girl when using :class, typo on related factory
This is a duplicate of #8100
Please try it again with trunk.
zzak (zzak _)
02:29 AM Bug #8372 (Rejected): Segmentation fault with Factory Girl when using :class, typo on related factory
=begin
This bug is partially the result of a typo, partially learning and switching things around in FactoryGirl, and resulting in a seg fault
I have a nested ActiveRecord model (Person::Identity), when I define a FactoryGirl factory...
jshirley (Jay Shirley)
03:19 AM Revision 593c24f8 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): Add a cast to
suppress warning.
Bionic defines socklen_t as int.
Bionic defines msg_controllen as unsigned int (__kernel_size_t)
instead of socklen_t as POSIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40599 b2dd03c8-39d4-4d8f-98ff-82...
akr (Akira Tanaka)
03:14 AM Revision cb2f3c1b (git): * ext/socket/ancdata.c (ancillary_inspect): Don't call
anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO.
anc_inspect_ipv6_pktinfo is not defined in the case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:12 AM Revision 2b792abd (git): * ext/socket/socket.c (socket_s_ip_address_list): Cast EXTRA_SPACE as
int. This suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:10 AM Revision 301821bd (git): * ext/socket/extconf.rb: Set close_fds false for Cygwin.
Cygwin doesn't support fd passing.
This enables socket extension library cross-compilable by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:09 AM Revision f4fd7790 (git): * 2013-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 AM Revision 570015a1 (git): * pack.c (swap32): Don't redefine it if it is already defined.
Bionic defines it.
(swap64): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 AM Feature #8366: Exception.message take time to execute depending on the instance variables
nobu (Nobuyoshi Nakada) wrote:
> You should define inspect method.
But it is not practical to define inspect on all the classes I write or add inspect to all third party code or plugins I use, easier and better solution would be to ...
anuraguniyal (anurag uniyal)

05/06/2013

10:53 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
2013/5/6 matz (Yukihiro Matsumoto) <matz@ruby-lang.org>:
>
> Everything that can be resolved without locale/language information (for most of the cases).
> Case conversion may have problems with some characters, e.g. german eszett...
akr (Akira Tanaka)
09:52 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Everything that can be resolved without locale/language information (for most of the cases).
Case conversion may have problems with some characters, e.g. german eszett or turkish i, but can be converted mostly.
Of course it would take ...
matz (Yukihiro Matsumoto)
09:25 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Current string-related policy is ASCII-based.
If it is changed, how wide it is applied is the issue; for example
* strip
* split
* upcase/downcase
naruse (Yui NARUSE)
05:58 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
Five yeas have passed since the decision in [ruby-core:19379], and Unicode had almost taken over the world.
Maybe it's time to relax the limitation at least when we are using Unicode.
Matz.
matz (Yukihiro Matsumoto)
02:28 PM Feature #7845 (Open): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
naruse (Yui NARUSE) wrote:
> Did you read [ruby-core:19379]?
I did.
Out of respect, I will assume that you read [ruby-core:53374] which explains nicely that [ruby-core:19379] has absolutely nothing to do with what constitutes a s...
marcandre (Marc-Andre Lafortune)
10:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
2013/5/6 SASADA Koichi <ko1@atdot.net>:
>
> You are right. It was my mistake.

RGenGC is ABI incompatible.
I understood.
--
Tanaka Akira
akr (Akira Tanaka)
09:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/06 21:23), Tanaka Akira wrote:
> I think many extension libraries uses RARRAY_PTR macro.
> I feel such libraries are normal.
> I guessed such libraries should be re-compiled but you said that
> such libraries works with...
ko1 (Koichi Sasada)
09:29 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
2013/5/6 SASADA Koichi <ko1@atdot.net>:

> (a) ABI compatibility will be braek
> (b) But normal C-exts can work without any modification
> (and most of case, without any re-build)

I wonder here.

I think many ext...
akr (Akira Tanaka)
03:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/06 11:47), sam.saffron (Sam Saffron) wrote:
> @ko1 can we backport the GC optimisations (non rgengc ones in this branch into 2.0? )

I think nagachika-san (release manager of 2.0.0 series) don't admint
`optimization' p...
ko1 (Koichi Sasada)
03:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
(2013/05/06 11:50), Tanaka Akira wrote:
> Is it ABI compatible?

(1) ABI compatbible for most of part.

You don't need to consider if you don't

(2) ABI incompatibility fo exceptional C-exts

If C api manages RBASIC(ob...
ko1 (Koichi Sasada)
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
2013/5/4 SASADA Koichi <ko1@atdot.net>:
>
> Thank you for your positive response.
> I will merge it soon.

Is it ABI compatible?

This is just a question.
I don't against it.
--
Tanaka Akira
akr (Akira Tanaka)
11:47 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
@ko1 can we backport the GC optimisations (non rgengc ones in this branch into 2.0? ) sam.saffron (Sam Saffron)
08:33 PM Feature #8368: Socket.getifaddrs
I updated the patch to fix compile error on environments which has no getifaddrs().
Also I refined the result of Socket::Ifaddrs#inspect.
% ./ruby -rsocket -rpp -e 'pp Socket.getifaddrs'
[#<Socket::Ifaddr lo UP,LOOPBACK,RUNNING,0x10...
akr (Akira Tanaka)
01:40 AM Feature #8368: Socket.getifaddrs
judofyr (Magnus Holm) wrote:
> Shouldn't this be moved to CommonRuby?
There's no such consensus yet, especially bundled libraries.
naruse (Yui NARUSE)
01:23 AM Feature #8368: Socket.getifaddrs
Shouldn't this be moved to CommonRuby? judofyr (Magnus Holm)
12:00 AM Feature #8368: Socket.getifaddrs
I'm for this method. naruse (Yui NARUSE)
06:17 PM Bug #8364: Vim's if_ruby feature sometimes crash.
Thank you for your advice.
You can close this issue.
Anonymous
11:51 AM Revision 9e08404b (git): * ext/socket/socket.c (socket_s_ip_address_list): Fill sin6_scope_id
if getifaddrs() returns an IPv6 link local address which
sin6_scope_id is zero, such as on OpenIndiana SunOS 5.11.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:40 AM Revision 85bfd730 (git): * compar.c (Comparable#==): fix typo.
Patch by Andrew Grimm. [Fix GH-297]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
04:26 AM Feature #8371 (Feedback): Make some enumerators mimic arrays
Some enumerators yields data by one element so that in some way such enumerators can be treated as arrays in some ways. But they are still enumerators, so they doesn't respond to methods each array responds. As an example, there is code ... prijutme4ty (Ilya Vorontsov)
02:31 AM Bug #8369 (Closed): r40574 build fail
zzak (zzak _)
02:29 AM Bug #8310 (Rejected): resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
Duplicate of #8100 zzak (zzak _)
01:22 AM Revision ef07aa79 (git): * 2013-05-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision 912f9dcc (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom