Project

General

Profile

Activity

From 05/10/2013 to 05/16/2013

05/16/2013

07:26 PM Bug #8412 (Closed): Small Documentation Fix for Fiddle Module
Just correcting a typo in the Fiddle module. It is in the intro to the module and makes it look untidy. sjc (Steven Cook)
07:01 PM Feature #8394 (Assigned): use String#b instead of dup.force_encoding("ASCII-8BIT")
xibbar (Takeyuki FUJIOKA)
07:01 PM Feature #8394 (Closed): use String#b instead of dup.force_encoding("ASCII-8BIT")
This issue was solved with changeset r40786.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/util.rb: Use String#b instead of dup.force_encoding...
xibbar (Takeyuki FUJIOKA)
06:30 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
I sent a pull request about this bug: https://github.com/ruby/ruby/pull/308 duncan (Duncan Mac-Vicar P.)
01:35 PM Revision de03518c (git): * template/verconf.h.in: unexpand exec_prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:38 AM Feature #5458: DL should be removed
@ngoto Looking from the target, seems like this will be removed on 2.1.0 (next minor) sikachu (Prem Sichanugrist)
11:28 AM Feature #5458: DL should be removed
When DL is removed? ngoto (Naohisa Goto)
10:29 AM Revision 8416b579 (git): Fix a dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:26 AM Revision 612143dd (git): * lib/cgi/util.rb: Constant parameter is faster and economy than
string parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
10:14 AM Revision 75cbab7f (git): * lib/cgi/core.rb: Constant parameter is faster and economy than
string parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
10:01 AM Revision 2829cbac (git): * lib/cgi/util.rb: Use String#b instead of dup.force_encoding("ASCII-8BIT")
[Feature #8394]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
08:29 AM Bug #8411 (Rejected): Wrong value returned when arity called on a method created through define_method with default arguments
def foo(bizz=:bizz, baz=:baz, buzz=:buzz)
end

Object.send(:define_method, :bar) do |bizz=:bizz, baz=:baz, buzz=:buzz|
end

puts method(:foo).arity
puts method(:bar).arity
Expected:
-1
-1
Actual:
-1
0
JFlash (John Amicangelo)
08:17 AM Revision 940a99ac (git): * vm_eval.c (rb_catch_obj): add volatile to tag to prevent crash
experimentally.
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130515T133500Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:54 AM Revision 67f562a4 (git): Makefile.in: loadpath from loadpath.c
* Makefile.in (loadpath): $LOAD_PATH in miniruby is empty by default
now.
* win32/Makefile.sub (loadpath): separate for quirky cmd.exe syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:51 AM Bug #8410 (Closed): Syntax error in yaml_tree warn message
Should be fixed in r40776
Thanks Santiago!
tenderlovemaking (Aaron Patterson)
05:09 AM Bug #8410 (Closed): Syntax error in yaml_tree warn message
Fix: https://github.com/spastorino/ruby/commit/6c1ae148b5d9e714ba1c91c40991dd508ff6f4dc spastorino (Santiago Pastorino)
07:20 AM Revision 87e352c5 (git): win32/Makefile.sub: fix verconf
* win32/Makefile.sub (verconf.in): no longer used.
* win32/Makefile.sub (config.status): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:15 AM Revision 49d37e6e (git): verconf.h: fix for default prefix
* configure.in, template/verconf.h.in (RUBY_EXEC_PREFIX): fix for
default prefix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:15 AM Revision f13a0a4d (git): * template/verconf.h.in: not typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:59 AM Revision d5cb6900 (git): * template/verconf.h.in: typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:13 AM Revision 434f0abd (git): verconf.h.in: template for verconf.h
* template/verconf.h.in: generate verconf.h from the template and
rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:13 AM Revision ae9dbb6c (git): generic_erb.rb: --source option
* tool/generic_erb.rb: -x, --source option for debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:13 AM Revision 7b5a8193 (git): common.mk: verconf.h for parallel build
* common.mk (verconf.h): depend on the timestamp file instead of
rbconfig.rb, for parallel build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:16 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 error showed up in a Rails app, on my code I had two different files (ProxyAPI::Resource and ProxyAPI::BMC < Resource), and somehow there was a separated Resource class defined by a loaded gem. Then ProxyAPI::BMC was inheriting from... eLobato (Daniel Lobato Garcia)

05/15/2013

10:21 PM Bug #8407: *args in method_missing not typing variables correctly
Yes, I clearly did. And now, this morning, my error stands out like a sore thumb.
Sorry to waste time.
rcastro (Ryan Castro)
09:24 AM Bug #8407 (Rejected): *args in method_missing not typing variables correctly
As, Matthew said, you misunderstand how '*' works.
Matz.
matz (Yukihiro Matsumoto)
07:55 AM Bug #8407: *args in method_missing not typing variables correctly
=begin
Why do you keep referring to (({*args[0]})) in your code? I suspect the following is what you meant:
class Klass
def method_missing(sym, *args, &block)
puts args[0].inspect
puts args[0].class
mystring = args[...
phluid61 (Matthew Kerwin)
07:38 AM Bug #8407 (Rejected): *args in method_missing not typing variables correctly
When setting a variable with *args, it will not cast my string to a string type. But when used directly, it casts it as a String without issue.
I would expect it to operate like a normally array does, as demonstrated at the end of the...
rcastro (Ryan Castro)
09:59 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Hi,

In <519344E0.7020208@atdot.net>
"[ruby-core:55004] Re: [ruby-trunk - Bug #8399] Remove usage of RARRAY_PTR in C extensions when not needed" on Wed, 15 May 2013 17:18:40 +0900,
SASADA Koichi <ko1@atdot.net> wrote:

>...
kou (Kouhei Sutou)
09:17 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
ko1 (Koichi Sasada) wrote:
> (2013/05/15 14:38), dbussink (Dirkjan Bussink) wrote:
> ...
How does this guarantee that the expression doesn't for example calls something that GC's? In that case, having to scan the whole array for pointe...
dbussink (Dirkjan Bussink)
09:14 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Hanmac (Hans Mackowiak) wrote:
> hm i dont know if i like that, i use RARRAY_PTR for fast array access (like when i need to turn an Ruby Array into an wxImageList), and i do not know if rb_ary_entry is slower than the other
I have ne...
dbussink (Dirkjan Bussink)
05:23 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
(2013/05/15 14:38), dbussink (Dirkjan Bussink) wrote:
> If we're changing something anyway, it makes far more sense to change to either RARRAY_AREF or rb_ary_entry in extensions. I also discussed this on irc (#ruby-core) with ko1 and ...
ko1 (Koichi Sasada)
04:44 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
hm i dont know if i like that, i use RARRAY_PTR for fast array access (like when i need to turn an Ruby Array into an wxImageList), and i do not know if rb_ary_entry is slower than the other Hanmac (Hans Mackowiak)
02:38 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
normalperson (Eric Wong) wrote:
> Perhaps RARRAY_PTR_RO can be introduced to declare read-only access on
> ...
If we're changing something anyway, it makes far more sense to change to either RARRAY_AREF or rb_ary_entry in extensions...
dbussink (Dirkjan Bussink)
08:48 PM Revision a1cc022e (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: fix syntax error.
Thanks @spastorino! [ruby-core:55011]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:07 PM Revision e213a722 (git): * gc.c (rb_node_newnode): use newobj_of() instead of rb_newobj().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:37 PM Revision 0f3206c6 (git): * ChangeLog: revert the line accidentally removed at r40763.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:04 PM Revision a84c2941 (git): * ext/socket/depend: Add a dependency for ifaddr.o.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:51 PM Revision ad6ae1db (git): yaml_tree.rb: fix warning message
* ext/psych/lib/psych/visitors/yaml_tree.rb: fix warning message.
Class.create does not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:50 PM Revision 04198615 (git): common.mk: verconf.h dependency
* common.mk (verconf.h): no needs to update always unless rbconfig.rb
is updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:44 PM Revision fa827c8b (git): common.mk, Makefile.sub: fix build failure on mswin
* common.mk (verconf.h): $< cannot be used in explicit rules with
nmake.
* win32/Makefile.sub (CONFIG_H): create verconf.in instead of
verconf.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40770 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
04:25 PM Revision 4616913d (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: only emit warnings when
-w is enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:08 PM Revision dec4e1cd (git): * 2013-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:08 PM Revision 83b1c8da (git): revert r40760
* vm.c (vm_invoke_proc): revert r40760 partially, which causes timeout
in test/ruby/test_thread.rb:test_stack_size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:41 PM Revision 99035ca2 (git): * include/ruby/intern.h: should include sys/time.h for struct timeval
if it exists. [ruby-list:49363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:41 PM Bug #8409: Having issues compiling 2.0.0 p195
Newbie error
compiling ruby with --prefix set to pwd leads to this mess. it should probably fail the build earlier instead of this rather hard to debug issue.
sam.saffron (Sam Saffron)
12:16 PM Bug #8409 (Closed): Having issues compiling 2.0.0 p195
sam@ubuntu:~/.rbenv/versions/2.0.0-p195$ uname -a
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
sam@ubuntu:~/.rbenv/versions/2.0.0-p195$ gcc --version
gcc (Ubuntu/Linaro 4.7...
sam.saffron (Sam Saffron)
11:54 AM Bug #8408 (Closed): minitest's test may fail randomly
test/minitest/test_minitest_spec.rb may fail as following:
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130515T013301Z.log.html.gz
9) Failure:
TestMeta#test_structure_subclasses [/home/chkbuild/build/20130515T013301Z/ruby/te...
naruse (Yui NARUSE)
10:31 AM Revision 85ed9ca7 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:26 AM Revision f1ccdf98 (git): * gc.c (newobj): rename to `newobj_of' and accept additional
three parameters v1, v2, v3. newobj_of() do OBJSETUP() and
fill values with v1, v2, v3.
* gc.c (rb_data_object_alloc, rb_data_typed_object_alloc):
use newobj_of().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40764 b2dd03c8-3...
ko1 (Koichi Sasada)
08:56 AM Revision 1ad7cbbf (git): configure.in: move RUBY_PLATFORM to config.h
* configure.in (RUBY_PLATFORM): move to config.h as needed by
version.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:09 AM Revision 5780d881 (git): * common.mk (verconf.h): fix dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:07 AM Revision 4a9ec306 (git): * gc.c: add an additional RGENGC_PROFILE mode (2).
Profiling result can be check by GC.stat.
* gc.c (type_name): separate from obj_type_name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:06 AM Revision 17bce7d0 (git): vm.c: suppress warnings
* vm.c (vm_invoke_proc, vm_exec), vm_eval.c (rb_eval_cmd): add
volatile to suppress -Wclobbered warnings by gcc 4.9.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:06 AM Revision d780d49b (git): vm_eval.c: suppress warning
* vm_eval.c (eval_string_with_cref): narrow a variable scope into the
EXEC_TAG block to suppress -Wclobberd warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:58 AM Revision b38e3f95 (git): configure.in: shvar_to_cpp in ruby
* configure.in: save configured load path values into verconf.in.
* common.mk (verconf.h): create from verconf.in with shvar_to_cpp.rb.
* tool/shvar_to_cpp.rb: turn shell variables into C macros.
[Bug #7959]
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
07:56 AM Revision 57531305 (git): loadpath.c: split
* loadpath.c: split load path staffs from version.c.
* dmyloadpath.c: miniruby has no builtin load paths, so verconf.h is
not needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:52 AM Revision 4425e213 (git): configure.in: escape
* configure.in (unexpand_shvar): escape $.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:51 AM Revision 262529fd (git): ifchange: --keep option
* tool/ifchange (--keep=suffix): new option for debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:05 AM Revision 3c82aea9 (git): * Makefile.in (miniruby): 1.9.3 doesn't have POSTLINK macro.
reported by Takahiro Kambe at [ruby-list:49362].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:16 AM Bug #8405 (Assigned): CSV module - improper regexp for escaping special characters
nobu (Nobuyoshi Nakada)
12:27 AM Bug #8405 (Closed): CSV module - improper regexp for escaping special characters
=begin
There seems to be bug in csv.rb module. If you would like to use some special characters like (({|})) as a quote_char (passed as a parameter to CSV methods like read), program terminates with (({CSV::MalformedCSVError: Missing or...
dunric (David Unric)

05/14/2013

11:22 PM Bug #8400: skip `Rinda::TestRingFinger` tests on platforms not implementing `getifaddrs()`
Related, should windows-specific implementation for this issue be moved from win32.c to a networking specific
file (win32/net.c ?) and the build scripts updated similar to what Shirosaki-san did for win32/file.c?
win32.c is a 150k, 6...
jonforums (Jon Forums)
01:08 PM Bug #8400: skip `Rinda::TestRingFinger` tests on platforms not implementing `getifaddrs()`
usa, below is the quick patch I needed in order to build on win7 32bit with mingw-w64 gcc 4.7.4. The patch solved the `make test-all`
failures and `make test` still passed.
### `make test-all` results
...
[11522/13375] TestSp...
jonforums (Jon Forums)
03:07 AM Bug #8400: skip `Rinda::TestRingFinger` tests on platforms not implementing `getifaddrs()`
test file build results with 32bit compilers => cl, mingw.org 4.2.6, mingw-w64 4.7.2, mingw-w64 4.8.0
https://gist.github.com/jonforums/5570163
jonforums (Jon Forums)
12:38 AM Bug #8400: skip `Rinda::TestRingFinger` tests on platforms not implementing `getifaddrs()`
@usa, nice...just scanning r40693 :) :)
Looks like NET_LUID redef when using mingw-w64 headers is cause of this fail
http://ci.rubyinstaller.org/view/Ruby%20Trunk/job/ruby-trunk-x86-build/1514/console
Mingw-w64 headers do this...
jonforums (Jon Forums)
11:05 PM Bug #8320: Ruby interpreter crashes when running pcaprub
Still present in
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
crondaemon (Dario Lombardo)
09:19 PM Feature #8404 (Open): virtual, hooked or read only global variabels for ruby only code too
currently pure virtual or hooked global variables can only be defined with cFunctions like rb_define_virtual_variable
i think it would be cool if this would be possible in Ruby code too
Hanmac (Hans Mackowiak)
06:57 PM Revision 3f51cff4 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: adding backwards
compatible YAMLTree.new method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:45 PM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
So I made the patch pass the test suite. The test suite is now querying OpenSSL for built-in curves, instead of explicitly enumerating just some of them. vo.x (Vit Ondruch)
06:28 PM Revision 9ecdb321 (git): * ChangeLog: remove incorret lines of r40668.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
05:30 PM Revision 1a38b37d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:26 PM Revision 7ceafcbd (git): * ext/psych/lib/psych.rb: Adding Psych.safe_load for loading a user
defined, restricted subset of Ruby object types.
* ext/psych/lib/psych/class_loader.rb: A class loader for
encapsulating the logic for which objects are allowed to be
deserialized.
* ext/psych/lib/psych/deprecated.rb: Changes to use ...
tenderlovemaking (Aaron Patterson)
05:07 PM Revision d7f06a66 (git): * test/psych/helper.rb: envutil is not available outside Ruby, so
port the functions from envutil to the test helper.
* test/psych/test_deprecated.rb: ditto
* test/psych/test_encoding.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:58 PM Revision 0b8f727d (git): changing variable name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
04:08 PM Revision 4baa00dc (git): * include/ruby/intern.h: should include sys/time.h for struct timeval
if it exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:53 PM Revision a6df3a98 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:44 PM Revision 50146213 (git): * 2013-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:44 PM Revision ccf07bde (git): * signal.c: need to include unistd.h for write(2).
unistd.h is now included via ruby/defines.h, but should implicitly
include here. (suggested by kosaki)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:26 PM Revision a5ed0865 (git): merge revision(s) 39214,39221: [Backport #7830]
configure.in: Werror-implicit-function-declaration
* configure.in (warnflags): -Werror-implicit-function-declaration
haven't been used as-is, but always replaced with -Werror= or -W.
* configure.in (warnflags): disable...
U.Nakamura
03:22 PM Revision 19061851 (git): * signal.c: need to include unistd.h for write(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:48 PM Revision 1e5a6426 (git): * ext/socket/.document: Add ifaddr.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:27 PM Revision d70a806a (git): ruby.h: fix typo
* include/ruby/ruby.h (ruby_check_sizeof_long_long): fix typo of
availablity macro. [ruby-dev:47341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:24 PM Revision 5ec5c6d5 (git): socket: fix build error and warnings on mingw
* ext/socket/extconf.rb: check for if_nametoindex() for
i686-w64-mingw32, and check for declarations of if_indextoname() and
if_nametoindex().
* ext/socket/ifaddr.c (ifaddr_ifindex): not-implement unless
if_nametoindex() is availab...
nobu (Nobuyoshi Nakada)
11:35 AM Revision b6decf28 (git): Update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:27 AM Revision bede15ac (git): merge revision(s) 40728:
* ext/dl/lib/dl/func.rb (DL::Function#call): check tainted when
$SAFE > 0.
* ext/fiddle/function.c (function_call): check tainted when $SAFE > 0.
* test/fiddle/test_func.rb (module Fiddle): add test for above....
U.Nakamura
11:23 AM Revision 6ff931d6 (git): merge revision(s) 39491: [Backport #8403]
* lib/rubygems/config_file.rb: Lazily load .gem/credentials to only
check permissions when necessary. RubyGems bug #465
* test/rubygems/test_gem_config_file.rb: Test for the above.
* test/rubygems/test_gem_...
nagachika (Tomoyuki Chikanaga)
11:13 AM Revision 19f08523 (git): merge revision(s) 40728:
* ext/dl/lib/dl/func.rb (DL::Function#call): check tainted when
$SAFE > 0.
* ext/fiddle/function.c (function_call): check tainted when $SAFE > 0.
* test/fiddle/test_func.rb (module Fiddle): add test for above....
nagachika (Tomoyuki Chikanaga)
11:06 AM Revision c7d7ff45 (git): * ext/dl/lib/dl/func.rb (DL::Function#call): check tainted when
$SAFE > 0.
* ext/fiddle/function.c (function_call): check tainted when $SAFE > 0.
* test/fiddle/test_func.rb (module Fiddle): add test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:00 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
One idea I'm thinking now is warning when a constant already introduced from the top-level is assigned. nobu (Nobuyoshi Nakada)
10:32 AM Revision 1b1fdc3c (git): * ChangeLog: fixed typo. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:45 AM Bug #8402 (Closed): Segfault when precompiling rails assets
Duplicate of #8100
Please try it with ruby-trunk.
zzak (zzak _)
03:44 AM Bug #8402 (Closed): Segfault when precompiling rails assets
This bug appears when I run rake assets:precompile, but not every time. I tuned up ulimit max open files, I have enough memory, but still failing sometimes. It fails about 6 times per 10 runs. I have RoR 3.2.13.
# rake assets:precompi...
kolashtov (And Ko)
09:23 AM Bug #8401: BigDecimal.new("2").power(1e20) is zero.
2013/5/14 mrkn (Kenta Murata) <muraken@gmail.com>:
>
> 1.9.3p392 では -Infinity になるから、2.0.0p0 で導入されたバグですねぇ。

こっちの Debian GNU/Linux では 1.9.3p392 でも 0.0 ですねぇ。
そちらの環境は書いてありませんが、環境依存でしょうか。

% ruby-1.9.3p392 -v -rbigdecimal -e 'p...
akr (Akira Tanaka)
09:13 AM Bug #8401: BigDecimal.new("2").power(1e20) is zero.
1.9.3p392 では -Infinity になるから、2.0.0p0 で導入されたバグですねぇ。 mrkn (Kenta Murata)
12:14 AM Bug #8401 (Closed): BigDecimal.new("2").power(1e20) is zero.
ふと見つけたのですが、BigDecimal.new("2").power(1e20) が 0.0 になります。
% ./ruby -v -rbigdecimal -e 'puts BigDecimal.new("2").power(1e20)'
ruby 2.1.0dev (2013-05-13 trunk 40697) [x86_64-linux]
0.0
以下のように、power の引数が
1e1 や 1e2 なら値が出てきて、
1e10 ならエ...
akr (Akira Tanaka)
09:15 AM Revision 912c16db (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:42 AM Revision c3f45986 (git): Add NEWS about Kernel#singleton_method r40684 [Feature #8391]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:24 AM Revision cd916545 (git): iphlpapi is unavailable with older VC
* include/ruby/win32.h, win32/Makefile.sub, win32/win32.c: iphlpapi is
not available with older Visual C. works with VC9 or later at least.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:24 AM Revision e6589b2b (git): parse.y: fix argument type
* parse.y (is_global_name_punct): fix argument type, to get rid of
implicit promotion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:24 AM Feature #8377: Deprecate :: for method calls in 2.1
On 05/14 04:01, Magnus Holm wrote:
> On Sat, May 11, 2013 at 7:11 PM, jeremyevans0 (Jeremy Evans) <
> > I'm against removing it, since I think there are places where the syntax
> > looks nicer with :: (constructors such as Sequel:...
jeremyevans (Jeremy Evans)
04:23 AM Feature #8377: Deprecate :: for method calls in 2.1
On Sat, May 11, 2013 at 7:11 PM, jeremyevans0 (Jeremy Evans) <
merch-redmine@jeremyevans.net> wrote:

>
> Issue #8377 has been updated by jeremyevans0 (Jeremy Evans).
>
>
> jballanc (Joshua Ballanco) wrote:
> > If we rem...
judofyr (Magnus Holm)
05:52 AM Revision f83c42d9 (git): win32.h: fix for VC9
* include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): split
from intptr_t and uintptr_t, since VC9 defines the latters only in
crtdefs.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40722 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
05:29 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
"dbussink (Dirkjan Bussink)" <d.bussink@gmail.com> wrote:
> We don't want to expose GC managed memory like this directly to a C
> extension, that is on concern and why we copy. Even if we would
> directly expose it, it would still...
normalperson (Eric Wong)
03:22 AM Revision 77753bd9 (git): * win32/win32.c (NET_LUID): mingw may have NET_LUID and not defined
_IFDEF_.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:00 AM Revision e00d0451 (git): * test/ruby/test_time.rb: fixed merge misstake in r40711 and r40719.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:58 AM Revision 9c81308b (git): * test/ruby/test_time.rb: fixed merge misstake in r40711.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:36 AM Revision 2bfe339a (git): merge revision(s) 40419: [Backport #8281]
* lib/net/imap.rb (getacl_response): parse the mailbox of an ACL
response correctly. [ruby-core:54365] [Bug #8281]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:35 AM Revision 5db522e5 (git): merge revision(s) 40304: [Backport #8267]
* ext/openssl/ossl_ssl.c: Correct shutdown behavior w.r.t GC.
* test/openssl/test_ssl.rb: Add tests to verify correct behavior.
[Bug #8240] Patch provided by Shugo Maeda. Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/...
U.Nakamura
02:23 AM Revision fd9c5580 (git): merge revision(s) 40163: [Backport #8228]
* configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops.
* ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or
earlier if atomic.h is not available. [ruby-dev:47229] [Bug #8228]
git-svn-id: svn+...
U.Nakamura
02:20 AM Revision 3ba9e467 (git): merge revision(s) 39958,39989: [Backport #8216]
* lib/mkmf.rb (MAIN_DOES_NOTHING): force to refer symbols for tests
to be preserved. [ruby-core:53745] [Bug #8169]
* lib/mkmf.rb (MAIN_DOES_NOTHING): ensure symbols for tests to be
preserved. [ruby-core:537...
U.Nakamura
01:54 AM Revision bb5212d3 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 AM Revision e8905e10 (git): * regexec.c (onig_search): fix problem with optimization of \z.
[Backport #8210]
patched by k_tanaka at [ruby-core:54251].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:33 AM Revision 95d36502 (git): merge revision(s) 40014: [Backport #8198]
Document the default Net timeout values by @toolmantim [GH fixes #269]
* lib/net/{ftp,http,pop,smtp}.rb: added documentation for default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@40712 b2dd03c8-39d4-4d8...
U.Nakamura
12:50 AM Revision 9d5681ad (git): merge revision(s) 39766,39769: [Backport #8101]
* time.c (GetTimeval): check if already initialized instance.
* time.c (GetNewTimeval): check if newly created instance.
* time.c (time_init_0, time_init_1, time_init_copy, time_mload): must
be newly created i...
U.Nakamura
12:37 AM Revision b4d0f635 (git): fix a typo and remove "file (func):" only duplicated of upper entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

05/13/2013

08:14 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
ko1 (Koichi Sasada) wrote:
> Let us clarify your statement (sorry if I missed in your messages).
> ...
Personally I think RARRAY_PTR should be removed and the resulting issues of that fixed. I can understand if MRI decides not to do...
dbussink (Dirkjan Bussink)
07:59 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
(2013/05/13 19:53), SASADA Koichi wrote:
> I believe RARRAY_AREF/ASET will help (2), and I strongly agree to
> backport 2.0 and 1.9 (or provide some migration way).

The name of them (*1) and definition are remaining issue, but ...
ko1 (Koichi Sasada)
07:59 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Hi,

Let us clarify your statement (sorry if I missed in your messages).

(1) Do you want to remove RARRAY_PTR() completely?
or
(2) Reduce usage of RARRAY_PTR()?

I believe RARRAY_AREF/ASET will help (2), and I strongly ...
ko1 (Koichi Sasada)
07:29 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
naruse (Yui NARUSE) wrote:
> As eregon says ko1 added RARRAY_AREF in r40689.
> ...
Yes, I understand that. What I'm asking is that we also then please backport RARRAY_AREF and RARRAY_ASET to 1.9 and 2.0. This so we can update the ext...
dbussink (Dirkjan Bussink)
07:25 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
dbussink (Dirkjan Bussink) wrote:
> naruse (Yui NARUSE) wrote:
> ...
dbussink (Dirkjan Bussink) wrote:
> naruse (Yui NARUSE) wrote:
> ...
As eregon says ko1 added RARRAY_AREF in r40689.
Anyway you can define compatible layer like
...
naruse (Yui NARUSE)
07:20 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
dbussink (Dirkjan Bussink) wrote:
> And how about storing an entry? Is there also a macro for storing an entry?
Yes, RARRAY_ASET ( https://github.com/ko1/ruby/commit/29dd46688687f99741b445102d0cd9f5bb52bc92 ).
Eregon (Benoit Daloze)
07:10 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
naruse (Yui NARUSE) wrote:
> ko1's rgengc plans to introduce RARRAY_AREF for this purpose (see #8339 for detail).
> ...
In Rubinius we also still support 1.8 and 1.9 modes and use the extensions from those modes. I understand 1.8 not b...
dbussink (Dirkjan Bussink)
05:46 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
ko1's rgengc plans to introduce RARRAY_AREF for this purpose (see #8339 for detail).
So use it.
naruse (Yui NARUSE)
02:40 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
jonforums (Jon Forums) wrote:
> Interesting. What platform(s) did you test this MRI patch against?
> ...
I will update the patch for this, I wasn't sure whether MRI does or doesn't allow for this in the codebase, since it also build an...
dbussink (Dirkjan Bussink)
02:39 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
normalperson (Eric Wong) wrote:
> I am curious how Rubinius implements RARRAY_PTR and why it cannot be
> ...
We don't want to expose GC managed memory like this directly to a C extension, that is our concern and why we copy. Even if we...
dbussink (Dirkjan Bussink)
11:42 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
jonforums (Jon Forums) wrote:
> With a trivial update to your patch, trunk built on Win7 32bit with mingw-w64 4.7.2, and `make test` passed with and without your patch.
> ...
It seems because of minitest's bug.
minitest's parallelize_...
naruse (Yui NARUSE)
10:22 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
With a trivial update to your patch, trunk built on Win7 32bit with mingw-w64 4.7.2, and `make test` passed with and without your patch.
The only difference I saw with your patch in `make test-all` was this test status output corrupti...
jonforums (Jon Forums)
07:53 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
"dbussink (Dirkjan Bussink)" <d.bussink@gmail.com> wrote:
> Rubinius uses quite a few C extensions directly from MRI. Some of
> these use functionality such as RARRAY_PTR which is not necessary. For
> compatibility reasons, RARRAY...
normalperson (Eric Wong)
07:38 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Interesting. What platform(s) did you test this MRI patch against?
I've not tried my Arch, Ubuntu Server, or Snow Leopard VMs yet, but on Win7 32bit with mingw-w64 gcc 4.7.2 I get this
build fail due to not using old C90 style coding...
jonforums (Jon Forums)
05:37 AM Bug #8399 (Closed): Remove usage of RARRAY_PTR in C extensions when not needed
Rubinius uses quite a few C extensions directly from MRI. Some of these use functionality such as RARRAY_PTR which is not necessary. For compatibility reasons, RARRAY_PTR works on Rubinius but suffers from a heavy performance penalty. Ta... dbussink (Dirkjan Bussink)
07:26 PM Bug #8100: Segfault in trunk
Might be related to https://bugs.ruby-lang.org/issues/8056 morgoth (Wojciech Wnętrzak)
07:26 PM Bug #8056 (Closed): Random segmentation faults in Tempfile
naruse (Yui NARUSE)
07:17 PM Bug #8056: Random segmentation faults in Tempfile
I'm guessing this is a duplicate of #8100. judofyr (Magnus Holm)
07:06 PM Feature #8396: Allow easier destructuring of MatchData
You can use named capture assigning
irb(main):005:0> /(?<count>\d+)_(?<thing>apple|orange)s?/ =~ "2_apples"
=> 0
irb(main):006:0> count
=> "2"
irb(main):007:0> thing
=> "apple"
naruse (Yui NARUSE)
03:03 AM Feature #8396: Allow easier destructuring of MatchData
=begin
Yep, the (({*@})) is a nice idea. Would be awesome if it could be used for splat-less destructuring as well. @matz what do you think about this?
=end
goshakkk (Gosha Arinich)
12:18 AM Feature #8396: Allow easier destructuring of MatchData
This could be a use case for the @* method proposed in #2013. jeremyevans0 (Jeremy Evans)
06:41 PM Feature #8339 (Closed): Introducing Geneartional Garbage Collection for CRuby/MRI
This issue was solved with changeset r40689.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/ruby.h: add new utility macros to access
Array...
ko1 (Koichi Sasada)
06:34 PM Revision f254b689 (git): * string.c (rb_str_new_frozen): remove debug print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:23 PM Revision b8c0ff86 (git): * include/ruby/ruby.h: enable to generate write barrier protected
arrays (T_ARRAY).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:22 PM Revision 5016b37a (git): * include/ruby/ruby.h: enable to generate write barrier protected
objects (T_STRING).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:21 PM Revision 305382bd (git): * include/ruby/ruby.h: enable to generate write barrier protected
objects (T_OBJECT).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:19 PM Revision 1829147f (git): * include/ruby/ruby.h: enable to generate write barrier protected
objects for numeric types (Float, Complex, Rational, Bignum).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:14 PM Revision 9b6b3672 (git): * include/ruby/ruby.h: enable RGENGC (USE_RGENGC)
but no type creates write protected (sunny) objects
(RGENGC_WB_PROTECTED_* == 0).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:07 PM Revision 4f401816 (git): * gc.c: support RGENGC. [ruby-trunk - Feature #8339]
See this ticet about RGENGC.
* gc.c: Add several flags:
* RGENGC_DEBUG: if >0, then prints debug information.
* RGENGC_CHECK_MODE: if >0, add assertions.
* RGENGC_PROFILE: if >0, add profiling features.
check GC.stat and GC::Profiler.
...
ko1 (Koichi Sasada)
05:02 PM Revision 7958c71e (git): * gc.c: remove rb_objspace_t::marked_num.
We can use `objspace_live_num()' instead of removed `marked_num'
if it is after `after_gc_sweep()' function call.
* gc.c (after_gc_sweep): use objspace_live_num() instead of removed
rb_objspace_t::marked_num.
* gc.c (gc_mark_ptr, gc_...
ko1 (Koichi Sasada)
04:52 PM Revision b597df70 (git): * gc.c: disable GC_PROFILE_MORE_DETAIL (fix last commit).
* gc.c (gc_prof_set_malloc_info): fix "objspace->heap.live_num" to
"objspace_live_num(objspace)". There is no such member variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
04:34 PM Revision 7d0a90e9 (git): * gc.c: refactoring GC::Profiler.
* gc.c (gc_prof_sweep_timer_start/stop): removed because
they doesn't support lazy sweep.
* gc.c (gc_prof_sweep_slot_timer_start/stop): added.
redefine `sweeping time' to accumulated time of all of
slot_sweep().
* gc.c (rb_objspace...
ko1 (Koichi Sasada)
03:55 PM Revision e23941ff (git): * 2013-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 PM Revision 89e6910f (git): * include/ruby/ruby.h: constify RRational::(num,den) and
RComplex::(real,imag).
Add macro to set these values:
* RRATIONAL_SET_NUM()
* RRATIONAL_SET_DEN()
* RCOMPLEX_SET_REAL()
* RCOMPLEX_SET_IMAG()
This change is a part of RGENGC branch [ruby-trunk - Feature #8339].
TODO: API design. RR...
ko1 (Koichi Sasada)
02:52 PM Feature #8391 (Closed): Introduce Object.singleton_method(:sym)
This issue was solved with changeset r40684.
stephen, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
proc.c: Kernel#singleton_method
* proc.c (rb_obj_singleton_me...
nobu (Nobuyoshi Nakada)
02:41 PM Revision 8ccd658e (git): * include/ruby/ruby.h: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
01:39 PM Revision b86ebc1f (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:51 PM Revision 2ad4c65b (git): * ext/socket/extconf.rb: Check socketpair again.
It is required on Unix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:21 PM Revision dd468731 (git): * win32/win32.c (getipaddrs): use alternamtive interface name if
available, because if_nametoindex() requires them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:29 AM Revision cb3fcdcd (git): * win32/win32.c, include/ruby/win32.h (getipaddrs): [experimental]
emulate getipaddrs(3) on Unix.
* win32/Makefile.sub, configure.in (LIBS): need iphlpapi.lib for above
function.
* include/ruby/win32.h (socketpair): rb_w32_socketpair() doesn't
substitute for any function, so use non-prefixed name....
U.Nakamura
11:11 AM Revision f1eadb0f (git): * iseq.c (prepare_iseq_build): remove additional line braek.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
10:51 AM Bug #8392: stdlib's 'forwardable' documentation has a bad example
I have left some comments on the pull request, please check it. zzak (zzak _)
01:15 AM Bug #8392 (Assigned): stdlib's 'forwardable' documentation has a bad example
zzak (zzak _)
10:49 AM Revision 83aba048 (git): * include/ruby/ruby.h: constify RBasic::klass and add
RBASIC_CLASS(obj) macro which returns a class of `obj'.
This change is a part of RGENGC branch [ruby-trunk - Feature #8339].
* object.c: add new function rb_obj_reveal().
This function reveal interal (hidden) object by rb_obj_hide()....
ko1 (Koichi Sasada)
09:56 AM Revision aacd7710 (git): * *.c, parse.y, insns.def: use RARRAY_AREF/ASET macro
instead of using RARRAY_PTR().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:51 AM Feature #8393: A class who's parent class is in a module can go wrong if files are required in the wrong order
I know the reason of course.
The point is how others reading your code can guess your intention from the code.
Can you explain why the result is "unexpected"?
nobu (Nobuyoshi Nakada)
09:44 AM Bug #8398 (Rejected): case/when shouldn't try to evaluate all AND joined conditions if one of preceding was falsy
nobu (Nobuyoshi Nakada)
06:42 AM Bug #8398: case/when shouldn't try to evaluate all AND joined conditions if one of preceding was falsy
You probably think your case statement is translated to:
case
when (String === 1) && (proc { |x| x.blah } === 1)
:something
else
:no
end
I believe ruby actually translates it to:
case
when (String && proc { |x| x.blah ...
jeremyevans0 (Jeremy Evans)
03:48 AM Bug #8398 (Rejected): case/when shouldn't try to evaluate all AND joined conditions if one of preceding was falsy
=begin
Steps to reproduce:
case 1
when String && proc { |x| x.blah }
:something
else
:no
end
Here is how I thought it works: goes to the first 'when', evals the first condition ((({1 === String}))), sees it's fals...
goshakkk (Gosha Arinich)
09:41 AM Revision 12bf7363 (git): * include/ruby/ruby.h: add new utility macros to access
Array's element.
* RARRAY_AREF(a, i) returns i-th element of an array `a'
* RARRAY_ASET(a, i, v) set i-th element of `a' to `v'
This change is a part of RGENGC branch [ruby-trunk - Feature #8339].
git-svn-id: svn+ssh://ci.ruby-lang....
ko1 (Koichi Sasada)
08:56 AM Bug #8400 (Closed): skip `Rinda::TestRingFinger` tests on platforms not implementing `getifaddrs()`
The 32 and 64bit trunk builds at ci.rubyinstaller.org are failing `make test-all`
32bit => http://ci.rubyinstaller.org/view/Ruby%20Trunk/job/ruby-trunk-x86-test-all/1333/console
64bit => http://ci.rubyinstaller.org/view/Ruby%20Tr...
jonforums (Jon Forums)
06:43 AM Revision c8fc37a9 (git): * ChangeLog: add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:33 AM Revision b6b85f6e (git): * object.c (rb_obj_setup): added.
* include/ruby/ruby.h (OBJSETUP): ues rb_obj_setup() instead of
a macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:25 AM Revision 8ac05ae5 (git): * gc.c (rb_data_object_alloc): check klass only if klass is not 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:11 AM Feature #8394 (Assigned): use String#b instead of dup.force_encoding("ASCII-8BIT")
私はいいと思うので、確認してコミットしようと思います。
終わったら担当者を関さんに振ります。
xibbar (Takeyuki FUJIOKA)
06:03 AM Revision 925c936b (git): * gc.c (rb_data_object_alloc, rb_data_typed_object_alloc):
use NEWOBJ_OF() instead of NEWOBJ().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:52 AM Revision 0824f9f2 (git): proc.c: Kernel#singleton_method
* proc.c (rb_obj_singleton_method): new method Kernel#singleton_method
which returns a Method object of the singleton method.
non-singleton method causes NameError, but not aliased or zsuper
method, right now.
[ruby-core:54914] [...
nobu (Nobuyoshi Nakada)
05:51 AM Revision 30485080 (git): vm_method.c: rb_method_entry_at
* vm_method.c (rb_method_entry_at): return the method entry for id at
klass, without ancestors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:50 AM Revision 609c7420 (git): class.c: rb_singleton_class_get
* class.c (rb_singleton_class_get): get the singleton class if exists,
or nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:49 AM Revision 111c791c (git): class.c: adjust indent
* class.c (singleton_class_of): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:08 AM Revision ee22fad4 (git): * ext/openssl/ossl_ssl.c: Disabled OpenSSL::SSL::SSLSocket if
defined(OPENSSL_NO_SOCK).
This fixes a linkage error on platforms which do not have socket.
OpenSSL itself is still useful as a set of cryptographic functions
even on such platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
yugui (Yuki Sonoda)
01:31 AM Revision 0dc6dcfb (git): * hash.c: Hash[] and {} are not equivalent by @eam [Fixes GH-301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:07 AM Revision 793c5ae8 (git): * 2013-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:07 AM Revision 4813d871 (git): * random.c: Document Random::DEFAULT by @eLobato [Fixes GH-304]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
12:17 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
matz, what do you think?
Are you against introducing the change for Comparable#== ?
Eregon (Benoit Daloze)

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
 

Also available in: Atom