Project

General

Profile

Activity

From 05/28/2015 to 06/03/2015

06/03/2015

10:27 PM Revision 9e73d45e (git): * method.h: introduce rb_method_refined_t for refined method entry.
* class.c (move_refined_method): catch up this fix.
* gc.c (mark_method_entry): ditto.
* vm_eval.c (vm_call0_body): d...
ko1 (Koichi Sasada)
10:12 PM Bug #11206 (Closed): short file name match incompatibility
Applied in changeset r50760.
----------
dir.c: FNM_SHORTNAME
* dir.c (dirent_match): match short names only when FN...
nobu (Nobuyoshi Nakada)
09:14 AM Bug #11206: short file name match incompatibility
Seems good.
Thank you, nobu. Commit it, please.
usa (Usaku NAKAMURA)
08:17 AM Bug #11206: short file name match incompatibility
https://github.com/ruby/ruby/compare/trunk...nobu:bug/11206-fnm_shortname nobu (Nobuyoshi Nakada)
10:12 PM Revision 9375ff5b (git): dir.c: FNM_SHORTNAME
* dir.c (dirent_match): match short names only when FNM_SHORTNAME
flag is given, for the backward compatibility, an...
nobu (Nobuyoshi Nakada)
08:57 PM Feature #11208 (Closed): [PATCH] variable.c: remove generic ivar support for special constants
Applied in changeset r50759.
----------
ChangeLog: add missing reference
[ruby-core:69441] [Feature #11208]
Anonymous
08:57 PM Revision 99487313 (git): ChangeLog: add missing reference
[ruby-core:69441] [Feature #11208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50759 b2dd03c8-39d4-4d8f-98ff-8...
Eric Wong
08:53 PM Revision 152d36a7 (git): variable.c: remove generic ivar support for special constants
Special constants are all frozen since [Feature #8923] and cannot
support ivars. Remove some unused code we had for ...
Eric Wong
08:26 PM Revision 4ef6a682 (git): add a fix to last commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:15 PM Revision bd1e9d63 (git): * vm_insnhelper.c (def_iseq_ptr): `iseqval' is not available any more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:51 PM Revision 332210d4 (git): * class.c (method_entry_i): mtbl should not have `me' as NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:36 PM Revision 93f88afb (git): * class.c (clone_method): do not use me->klass, but use explicitly
passed argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:13 PM Revision 9ff020a0 (git): * 2015-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:12 PM Revision 4e870d30 (git): * vm_core.h (rb_vm_rewrite_cref_stack): rename to rb_vm_rewrite_cref().
* class.c (clone_method): use renamed name.
* vm_insnhelper.c (rb_vm_rewrite_cref): do not use `node' in variable
n...
ko1 (Koichi Sasada)
05:11 PM Bug #9743 (Closed): memory leak in openssl ossl_pkey_verify leaks memory
The failure has been fixed, so we can close this ticket. zzak (zzak _)
03:20 PM Bug #11217 (Closed): vm_method.c compile error by fcc on Solaris 10
Solaris 10 上の古いfccにて、r50728以降、vm_method.c (vm.c から読み込まれる)のコンパイルに失敗します。
下記はr50750でのエラーメッセージです。
~~~
fcc -O2 -KV9...
ngoto (Naohisa Goto)
02:42 PM Feature #11215: pack/unpack for (u)intptr_t
パッチの中に /* j for intptr_t */ というコメントがふたつありますが、ひとつは J ですかね。
akr (Akira Tanaka)
07:39 AM Feature #11215: pack/unpack for (u)intptr_t
あ、言い忘れましたが、j/Jはperlでは
j A Perl internal signed integer value (IV).
J A Perl internal unsigned integer v...
usa (Usaku NAKAMURA)
07:33 AM Feature #11215 (Closed): pack/unpack for (u)intptr_t
以前にも似たようなものを提案したような気がしないでもないですが、
WindowsのAPIを叩いてるとどうしても必要になるので改めて提案します。
pack/unpackのテンプレート文字として、新たに、
j: intp...
usa (Usaku NAKAMURA)
02:07 PM Revision 4ab762de (git): * vm_method.c: rename `rb_frame_...' to `rb_scope_...'.
* eval_intern.h: move decl. of rb_scope_visibility_set() to method.h.
* load.c: catch up this fix.
git-svn-id: svn...
ko1 (Koichi Sasada)
01:49 PM Feature #11216: inode for Windows
Windows で ino を使えるようにするのがいけないというわけではないのですが、
ファイルが同一かどうか確かめるのには現在でも test("-", f1, f2) が使えないでしょうか。
```
% ruby -e '...
akr (Akira Tanaka)
01:32 PM Feature #11216 (Closed): inode for Windows
現在WindowsではFile::Stat#inodeは常に0を返しますが、
例えばあるlogrotate的な運用の行われるファイルを監視・開きっぱなしにして、追記されれば差分を読み、
rotateされた場合は検出して最新のログを...
naruse (Yui NARUSE)
12:14 PM Revision 899d49bd (git): * ext/rbconfig/sizeof/extconf.rb: Check C99 standard integer types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:00 PM Revision 2f9b7898 (git): * configure.in: Don't check __int128.
* ext/rbconfig/sizeof/extconf.rb: Check __int128.
* ext/rbconfig/sizeof/depend: sizes.c depends on
ext/rbconfig/si...
akr (Akira Tanaka)
11:10 AM Revision c3cc282f (git): * class.c (clone_method): remove redundant check for me->def != NULL.
Now, all `me` have `me->def`.
* proc.c (rb_method_entry_location): ditto.
* vm.c (rb_vm_check_redefinition_opt_method...
ko1 (Koichi Sasada)
10:42 AM Revision 5ac1972c (git): * vm_core.h: rename enum missing_reason to enum method_missing_reason.
* vm_core.h: use enum method_missing_reason for
rb_thread_t::method_missing_reason.
* vm_eval.c: catch up this fix....
ko1 (Koichi Sasada)
07:21 AM Revision b1175728 (git): * vm.c: eagerly allocate `loading_table`. This eliminates the need to
do NULL checks when looking up the `loading_table` hash.
https://github.com/ruby/ruby/pull/918
* load.c: remove va...
tenderlovemaking (Aaron Patterson)
02:48 AM Revision b5cd6ba2 (git): * method.h: change fileds order to gather frequent acces fields.
* vm_insnhelper.c (vm_call_method): add LIKELY().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50745 b2dd03c8...
ko1 (Koichi Sasada)
01:46 AM Revision 419b0da4 (git): fix typo in ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:39 AM Revision 18bbd057 (git): * method.h: split rb_method_definition_t::flag to several flags.
`flag' contains several categories of attributes and it makes us
confusion (at least, I had confused).
* rb_metho...
ko1 (Koichi Sasada)

06/02/2015

11:52 PM Bug #11214 (Closed): Cannot Get Correct Binding from inside of C Method
I am trying to get the arguments passed into a method using the binding. This is possible using pure Ruby:
```ru...
schneems (Richard Schneeman)
11:08 PM Revision 938eb46e (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:07 PM Revision b06258f5 (git): * gem/bundled_gems: updated to test-unit 3.1.1 and minitest 5.7.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
09:42 PM Feature #10017: Add `Hash#fetch_values`
Hi, please let me know if there's anything I can do to move this ticket forward. wojtekmach (Wojtek Mach)
08:19 PM Feature #11208: [PATCH] variable.c: remove generic ivar support for special constants
[email protected] wrote:
> So the following check should be redundant.
>
> > if (rb_obj_frozen_p(obj)) rb_error_fro...
normalperson (Eric Wong)
03:27 AM Feature #11208: [PATCH] variable.c: remove generic ivar support for special constants
Good patch.
Before generic_ivar_set(), frozen check is already done.
So the following check should be redundant...
ko1 (Koichi Sasada)
03:07 AM Feature #11208 (Closed): [PATCH] variable.c: remove generic ivar support for special constants
variable.c: remove generic ivar support for special constants
Special constants are all frozen since [Feature #892...
normalperson (Eric Wong)
08:11 PM Bug #11213: defined?(super) ignores respond_to_missing?
However it is difficult because we can't call `self.respond_to_missing?` directly because we should ignore `C1#respon... ko1 (Koichi Sasada)
07:59 PM Bug #11213 (Closed): defined?(super) ignores respond_to_missing?
```ruby
class C0
def method_missing *args
p [:method_missing] + args
end
def respond_to_missing? *args...
ko1 (Koichi Sasada)
08:03 PM Revision 4fc87d4c (git): * vm_insnhelper.c: fix a typo. [ci skip]
check_resopnd_to_missing -> check_respond_to_missing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50740 b2dd03c...
nagachika (Tomoyuki Chikanaga)
07:56 PM Revision d6764108 (git): add a ticket number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:49 PM Revision a54da1c0 (git): * vm_insnhelper.c (vm_defined): check respond_to_missing?
at defined?(func()).
* test/ruby/test_defined.rb: add a test for this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
ko1 (Koichi Sasada)
07:38 PM Bug #10845: Subclassing String
It's clear to me that there's no rationale behind the current behavior.
The question is broader than that.
Firs...
marcandre (Marc-Andre Lafortune)
07:37 PM Bug #11211 (Closed): defined(foo.bar) calls respond_to_missing? everytime
Applied in changeset r50737.
----------
* vm_insnhelper.c (vm_defined): skip respond_to_missing? when
a method is ...
ko1 (Koichi Sasada)
07:18 PM Bug #11211 (Closed): defined(foo.bar) calls respond_to_missing? everytime
```ruby
class C
def respond_to_missing? *args
p args
end
def existing_method; end
end
p defined?(C...
ko1 (Koichi Sasada)
07:36 PM Revision 5bcae57c (git): * vm_insnhelper.c (vm_defined): skip respond_to_missing? when
a method is available.
[Bug #11211]
* test/ruby/test_defined.rb: add a test for this fix.
git-svn-id: svn+ssh://...
ko1 (Koichi Sasada)
07:21 PM Bug #11212 (Closed): defined?(foo()) ignores respond_to_missing?
```ruby
class C
def respond_to_missing? *args
true
end
def test
p defined?(non_exist_method())
...
ko1 (Koichi Sasada)
07:15 PM Revision 15164bf3 (git): * insns.def (defined), vm_insnhelper.c (vm_defined):
move instruction body to the vm_defined() function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50736 b2dd03...
ko1 (Koichi Sasada)
05:32 PM Revision 86bafab2 (git): * test/ruby/test_module.rb: Do not assume class variable order.
Path by @enebo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
05:01 PM Feature #11210: IPAddr has no public method to get the current subnet mask
It would be useful to expose @mask_addr. I have done this at times by reopening IPAddr and adding an attr_reader. The... bjmllr (Ben Miller)
03:56 PM Feature #11210 (Closed): IPAddr has no public method to get the current subnet mask
Both to_s and to_string omit the subnet mask of an IP address. The only way to query it via public methods is to manu... herwinw (Herwin Quarantainenet)
04:28 PM Revision ea0bc53e (git): * vm_method.c (rb_method_definition_set): remove a double assignment.
Coverity Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50734 b2dd03c8-39d4-4d8f-98ff-823fe6...
mame (Yusuke Endoh)
03:08 PM Revision 6697ade6 (git): * 2015-06-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 721e096f (git): * vm_method.c (rb_alias): rename parameter names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:42 PM Bug #11209 (Closed): [PATCH] Fix for String#+ when subclassed
See #10845.
I also have a Github PR at https://github.com/ruby/ruby/pull/920.
yoongkang (Yoong Kang Lim)
02:32 PM Revision ac881621 (git): * method.h: remove rb_method_iseq_t::iseqval.
While making a r50728, iseqval is needed (to mark correctly),
but now just iseqptr is enough.
* class.c: catch up t...
ko1 (Koichi Sasada)
12:33 PM Revision 8ff3ab51 (git): * proc.c (proc_curry): remove a debug line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:29 PM Bug #11206: short file name match incompatibility
IMO, ruby should offer an option to users to select matching short names or not. (maybe File::FNM_SHORTNAME, or someh... usa (Usaku NAKAMURA)
12:18 PM Bug #11206: short file name match incompatibility
For better or worse, extension names are something special things on Windows, so what about matching extension of lon... nobu (Nobuyoshi Nakada)
05:43 AM Bug #11206: short file name match incompatibility
Running these commands as the administrator would fix the problem:
1. `fsutil 8dot3name set 1`
2. `fsutil 8dot3na...
nobu (Nobuyoshi Nakada)
02:49 AM Bug #11206: short file name match incompatibility
Conflict with #10819.
Can these reach a compromise?
nobu (Nobuyoshi Nakada)
12:28 PM Revision c218e814 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:20 AM Bug #11046 (Closed): __callee__ returns incorrect method name in orphan proc
Applied in changeset r50728.
----------
* method.h: make rb_method_entry_t a VALUE.
Motivation and new data struct...
ko1 (Koichi Sasada)
04:20 AM Bug #11200 (Closed): Memory leak of method entries
Applied in changeset r50728.
----------
* method.h: make rb_method_entry_t a VALUE.
Motivation and new data struct...
ko1 (Koichi Sasada)
04:20 AM Bug #11203 (Closed): Change method entries into VALUE
Applied in changeset r50728.
----------
* method.h: make rb_method_entry_t a VALUE.
Motivation and new data struct...
ko1 (Koichi Sasada)
04:20 AM Revision 57b817f4 (git): * method.h: make rb_method_entry_t a VALUE.
Motivation and new data structure are described in [Bug #11203].
This patch also solve the following issues.
* [B...
ko1 (Koichi Sasada)
02:33 AM Feature #11207 (Closed): [PATCH] ext/socket/ancdata.c (bsock_sendmsg_internal): use rb_scan_args
This should make the code more maintainable and make it easy to add
keyword argument (to support "exception: false")...
normalperson (Eric Wong)
02:18 AM Revision ae042f21 (git): use assert_raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:02 AM Revision 21f2c194 (git): test_nonblock.rb: skip if EPROTONOSUPPORT
* test/socket/test_nonblock.rb (test_sendmsg_nonblock_seqpacket):
OSX raises EPROTONOSUPPORT.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
01:47 AM Revision 18e77438 (git): test/socket/test_nonblock.rb: new test for sendmsg_nonblock
sendmsg_nonblock was not tested on any of my systems due to the
common 64K limit. I also don't believe UDP sockets a...
Eric Wong
01:26 AM Feature #11191: Add #to_h method to OptionParser
Lee Jarvis wrote:
> Yes exactly. This will remove much of the boilerplate I mentioned above. However, the functional...
nobu (Nobuyoshi Nakada)
12:08 AM Revision cb1affb4 (git): lib/benchmark.rb: just use Process::CLOCK_MONOTONIC
Assume Process::CLOCK_MONOTONIC exists (possibly emulated) and
there is no need to bloat our code by defining a compa...
Eric Wong

06/01/2015

05:58 PM Feature #10974: [PATCH] Remove methods which has suffix `!`(sin!, cos!…) from CMath
[email protected] wrote:
> I am OK with this change. Does anyone else have opinon on this?
> E.g. compatibility i...
normalperson (Eric Wong)
12:22 PM Feature #10974: [PATCH] Remove methods which has suffix `!`(sin!, cos!…) from CMath
I am OK with this change. Does anyone else have opinon on this?
E.g. compatibility issue?
Matz.
matz (Yukihiro Matsumoto)
05:54 PM Bug #11206 (Closed): short file name match incompatibility
When I develop a foo.gem, my working diretory has foo.gemspec and foo.gem.
If I run `gem install -l foo`, it fails ...
naruse (Yui NARUSE)
05:18 PM Bug #11203: Change method entries into VALUE
I cannot view images at the moment, but I strongly approve of using
VALUE types more in our internals for the same ...
normalperson (Eric Wong)
10:48 AM Bug #11203 (Closed): Change method entries into VALUE
Now, `rb_method_entry_t` is an allocated data pointed from method tables (`class/module` has) and from control frame ... ko1 (Koichi Sasada)
04:14 PM Bug #11205: Problem with __dir__ or it's description
Note that `require_relative` uses `__dir__` as the base to generate an absolute path.
gam3 (Allen Morris)
03:08 PM Bug #11205 (Closed): Problem with __dir__ or it's description
~~~
Kernel#__dir__
Returns the canonicalized absolute path of the directory of the file from which this method is...
gam3 (Allen Morris)
03:13 PM Revision bd00df2f (git): * lib/resolv.rb (Requester#request): typo, regression introduced at
r49422 (patchlevel 618). reported and patched by Stefan Kolb
[ruby-core:69429] [Backport #11204]
git-svn-id: svn...
U.Nakamura
03:02 PM Revision fd4ec2bc (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:00 PM Revision abe5b048 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:00 PM Revision ec38e0ea (git): * 2015-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 49745b5a (git): fix indent (tabify) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:59 PM Revision 10f0206c (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:05 PM Bug #11201 (Closed): pkg_config NoMethodError when finding other -config program
Applied in changeset r50717.
----------
mkmf.rb: split --libs
* lib/mkmf.rb (pkg_config): split --libs if --libs-on...
nobu (Nobuyoshi Nakada)
12:44 PM Bug #11201: pkg_config NoMethodError when finding other -config program
i try to modify your possible patch a bit,
now it can parse the libs from the libflags again.
makes it work with ...
Hanmac (Hans Mackowiak)
09:46 AM Bug #11201: pkg_config NoMethodError when finding other -config program
Thank you, does this patch work?
~~~diff
diff --git i/lib/mkmf.rb w/lib/mkmf.rb
index be9b06c..615e2dc 100644
-...
nobu (Nobuyoshi Nakada)
09:00 AM Bug #11201: pkg_config NoMethodError when finding other -config program
wx from wxWidgets does have its own wx-config script with does have other flags than pkg-config
(pkg-config in its s...
Hanmac (Hans Mackowiak)
08:51 AM Bug #11201 (Feedback): pkg_config NoMethodError when finding other -config program
Does `pkg-config --libs-only-l wx` work? nobu (Nobuyoshi Nakada)
06:48 AM Bug #11201 (Closed): pkg_config NoMethodError when finding other -config program

where it does work (existing package)
~~~ruby
pkg_config("gtk+-x11-2.0") # => ["-pthread", "", "-lgtk-x11-2.0 ...
Hanmac (Hans Mackowiak)
01:01 PM Revision 5c18ffe2 (git): mkmf.rb: split --libs
* lib/mkmf.rb (pkg_config): split --libs if --libs-only-l option
is not available. patch in [ruby-core:69428] by H...
nobu (Nobuyoshi Nakada)
12:20 PM Revision 4777bdce (git): * gc.c (gc_mark_children): remove a garbage character
introduced at the last commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50716 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
10:26 AM Revision 7221252a (git): * vm_method.c (rb_method_entry_make): do not show warning message
when method_entry is an alias.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50715 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
10:19 AM Bug #11202 (Rejected): No warning when a link to an original method body was removed
```
class C0
def foo
end
end
class C < C0
alias bar foo # C0#foo is pointed from C0 and C#ba...
ko1 (Koichi Sasada)
09:46 AM Revision d9d0594a (git): mkmf.rb: logging pkg_config
* lib/mkmf.rb (pkg_config): log executing command and its results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
06:48 AM Revision 105a2c07 (git): * internal.h: move class related definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:44 AM Revision cd909b55 (git): * class.c: remove needless include pragmra for method.h.
* struct.c: ditto.
* vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50712 b2dd03c8-39d4-4d8...
ko1 (Koichi Sasada)
06:16 AM Revision 900931cc (git): test/ruby/test_complex.rb: Add test for CMath.log2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
05:38 AM Revision 8305152d (git): enum.c: [DOC] Fix typo [ci skip][Fix GH-904]
Patch provided by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kazuki Tanaka
05:35 AM Revision 2351d88f (git): lib/csv.rb: [DOC] Fix typo [ci skip][Fix GH-907]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
01:55 AM Revision 8e739355 (git): tkutil.c: fix out-of-bounds access
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): check array
length not access out-of-bounds.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)

05/31/2015

11:07 PM Revision 847e919e (git): ext/date/date_core.c: [DOC] fold long paragraphs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:06 PM Revision 473427a3 (git): vm_method.c: suppress warning
* vm_method.c (rb_frame_visibility_check): suppress comparison
warning by gcc 4.8 and 4.9.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
10:46 PM Revision c10df9b6 (git): [DOC] Decrease heading under DateTime [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
10:32 PM Revision 30e6825e (git): tkutil.c: fix memory leak and segfault
* ext/tk/tkutil/tkutil.c (cbsubst_append_inf_key): extract a
function append a key in subst info to a string. make...
nobu (Nobuyoshi Nakada)
08:44 PM Revision 1611735b (git): * eval_intern.h, vm_method.c: move macros to functions.
* SCOPE_TEST(f) -> rb_frame_visibility_test(flag).
* SCOPE_CHECK(f) -> rb_frame_visibility_check(flag).
* SCOPE_...
ko1 (Koichi Sasada)
07:49 PM Revision 45458752 (git): * ext/date/date_core.c: [DOC] Add comparison of Time and DateTime
Patch provided by @pixeltrix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50702 b2dd03c8-39d4-4d8f-98ff-823fe6...
zzak (zzak _)
07:23 PM Revision ac6990c7 (git): * vm_core.h (VM_FRAME_MAGIC_DUMMY): introduce new frame type to
recognize dummy frame.
* vm.c (th_init): use new frame type.
* vm_args.c (raise_argument_error): ditto.
git-svn-id...
ko1 (Koichi Sasada)
07:17 PM Revision 25813144 (git): * class.c (rb_class_has_methods): added to reduce depenedency
to internal class data structure.
* internal.h: ditto.
* hash.c (has_extra_methods): use added function.
git-svn-i...
ko1 (Koichi Sasada)
07:12 PM Revision 3d410dde (git): * gc.c , gc.h (rb_obj_info): export obj_info(VALUE) for debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:53 PM Revision c5421657 (git): * test/ruby/test_gc.rb: increase timeout seconds for GC stressful
debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:08 PM Revision 954c7562 (git): * 2015-06-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 912ae57b (git): tkutil.c: reduce unnecessary buffer
* ext/tk/tkutil/tkutil.c (cbsubst_get_subst_key): reduce
unnecessary buffer. the result string is one byte per one...
nobu (Nobuyoshi Nakada)
04:45 AM Revision 33604da3 (git): test_tempfile.rb: use assert_predicate
* test/test_tempfile.rb: use assert_predicate and
assert_not_predicate for better failure messages.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
04:45 AM Revision 56ef5433 (git): test_tempfile.rb: use assert_file
* test/test_tempfile.rb: use assert_file for better failure
messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)

05/30/2015

07:58 PM Revision 9794af35 (git): fix indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:18 PM Revision 3da0f60b (git): * method.h: fix typo of comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:45 PM Bug #11173 (Closed): inter class/module alias causes "no superclass method"
Applied in changeset r50691.
----------
* method.h: add VM_METHOD_TYPE_ALIAS rb_method_definition_t::type
to fix [...
ko1 (Koichi Sasada)
06:45 PM Revision f1d4e8b3 (git): * method.h: add VM_METHOD_TYPE_ALIAS rb_method_definition_t::type
to fix [Bug #11173].
Now, inter class/method alias creates new method entry
VM_METHOD_TYPE_ALIAS, which has an or...
ko1 (Koichi Sasada)
06:35 PM Revision 255c16b5 (git): * vm_method.c (rb_unlink_method_entry): make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:34 PM Revision 744d63aa (git): fix ChangeLog message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:31 PM Revision 7197b86f (git): * 2015-05-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:30 PM Revision 9cf6751f (git): * method.h, vm_method.c (rb_free_method_entry): constify a parameter.
* vm_method.c (rb_unlink_method_entry): constify a parameter.
* vm_core.h: remove useless declaration about rb_unlink...
ko1 (Koichi Sasada)
02:16 PM Bug #11200 (Closed): Memory leak of method entries
```ruby
def recur
Class.new{
define_method(:foo) do
recur
end
}.new.foo
end
begin
recu...
ko1 (Koichi Sasada)
10:41 AM Bug #11199 (Closed): IO.copy_stream degrade that can't call pathname to pathname
IO.copy_stream について、2.2.2〜2.3.0dev間で動作に差異がありました。
再現スクリプトを添付します。
~~~ruby
#! /usr/bin/env ruby
require 'pathn...
ksss (Yuki Kurihara)
09:05 AM Revision cc09968d (git): * lib/tempfile.rb (Remover#call): fixed wrong condition introduced at
r50682.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:20 AM Bug #11198 (Closed): [PATCH] ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
Applied in changeset r50685.
----------
ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
See doc/extension...
Anonymous
01:28 AM Bug #11198 (Closed): [PATCH] ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
See doc/extension.rdoc for explanation or r50646
normalperson (Eric Wong)
08:19 AM Revision 5e345559 (git): ext/socket/ancdata.c: use RB_GC_GUARD instead of volatile
See doc/extension.rdoc for explanation.
[ruby-core:69419] [Feature #11198]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
Eric Wong
07:01 AM Revision c1f355d9 (git): * lib/tempfile.rb (Tempfile#initialize): initialize @unlinked to fix
test failures introduced at r50682. I hope that check the results of
tests before committing, at least the tests a...
U.Nakamura
02:04 AM Revision 8252ef0a (git): change lingering dtrace probe documentation from function- to method-
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
01:29 AM Revision 354c9747 (git): * lib/tempfile.rb: refactoring.
* use warn instead of STDERR.print
* remove @tmpname and use @tmpfile.path
* introduce @unlinked flag
* Remover...
Glass_saga (Masaki Matsushita)
12:20 AM Revision e2140589 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:20 AM Revision f6cd5825 (git): variable.c: avoid compatibility table with generic ivars
This recovers and improves performance of Marshal.dump/load on
Time objects compared to when we implemented generic i...
Eric Wong
12:14 AM Revision c7ddf9d5 (git): cont.c: Check ruby_current_thread
* cont.c (cont_free): check if ruby_current_thread is still valid.
[Fix GH-914]
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)

05/29/2015

11:43 PM Feature #11170 (Closed): [PATCH] use ivar indices for generic ivars
Applied in changeset r50678.
----------
variable.c: use indices for generic ivars
This reduces memory overhead of i...
Anonymous
12:58 AM Feature #11170: [PATCH] use ivar indices for generic ivars
After the original patch, rb_generic_ivar_table() is much more expensive
but kept for compatibility reasons. I pro...
normalperson (Eric Wong)
11:42 PM Revision 9d9aea7f (git): variable.c: use indices for generic ivars
This reduces memory overhead of ivars for common types such as
T_DATA the same way T_OBJECT does it.
For 9992 accept...
Eric Wong
11:22 PM Revision cdd9ff6f (git): * 2015-05-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:22 PM Revision ff4b7360 (git): variable.c: extract common functions for generic ivar indices
* variable.c (iv_index_tbl_make): extract from rb_ivar_set
(iv_index_tbl_extend): ditto
(iv_index_tbl_newsize): d...
Eric Wong
01:58 PM Feature #7148: Improved Tempfile w/o DelegateClass
It doesn't sound like anyone opposes this idea, so are we just missing implementation? headius (Charles Nutter)
01:28 AM Feature #7148: Improved Tempfile w/o DelegateClass
Sadly, r50118 actually caused my problem because I was using `src_offset`
for `IO.copy_stream`
normalperson (Eric Wong)
01:21 AM Feature #7148: Improved Tempfile w/o DelegateClass
I think the problem you faced was resolved at r50118, wasn't it? Glass_saga (Masaki Matsushita)
12:00 PM Feature #11191: Add #to_h method to OptionParser
> You want symbols, I'm guessing for kwargs?
Sure, but not necessarily just for that. It's very common to see thes...
injekt (Lee Jarvis)
10:44 AM Bug #11197: POSIX matchers broken in Regexp
what do you expect ?
"Γ" for sample is "GREEK CAPITAL LETTER GAMMA"
means letter with is an alpha
so all of t...
Hanmac (Hans Mackowiak)
09:00 AM Bug #11197 (Rejected): POSIX matchers broken in Regexp
The POSIX matchers [[:alnum:]] and [[:alpha:]] in the Regexp class seem to be broken, as they successfully match all ... Anonymous
08:40 AM Revision b5909db0 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:39 AM Revision 7fd053a0 (git): * tool/make_hgraph.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
05:55 AM Revision 451fe269 (git): openssl: wrapper object before alloc
* ext/openssl: make wrapper objects before allocating structs to
get rid of potential memory leaks.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
05:44 AM Revision 5924f9a6 (git): psych: allocate structs with wrapper
* ext/psych/psych_emitter.c (allocate): allocate structs with
making new wrapper objects and get rid of potential m...
nobu (Nobuyoshi Nakada)
05:39 AM Bug #11192 (Closed): capture group special variable with large index invokes UB
Applied in changeset r50671.
----------
parse.y: check NTH_REF range
* compile.c (iseq_compile_each): out of range ...
nobu (Nobuyoshi Nakada)
05:39 AM Revision 238394e7 (git): parse.y: check NTH_REF range
* compile.c (iseq_compile_each): out of range NTH_REF is always
nil.
* parse.y (parse_numvar): check overflow of NT...
nobu (Nobuyoshi Nakada)
05:04 AM Bug #10823: Issue building bigdecimal.
ruby_2_1 r50670 merged revision(s) 49491. usa (Usaku NAKAMURA)
05:03 AM Revision 0d1f4fb5 (git): merge revision(s) 49491: [Backport #10823]
* ext/bigdecimal/bigdecimal.c (VpSetPTR): fix a typo, 'expoennt'
to 'exponent'. [ruby-core:67980] [Bug #10...
U.Nakamura
05:01 AM Bug #10858: File.expand_path on Windows does not handle drive-current path if 2nd arg is relative
ruby_2_1 r50669 merged revision(s) 49618,49640. usa (Usaku NAKAMURA)
05:01 AM Revision 6f97605f (git): merge revision(s) 49618,49640: [Backport #10858]
* win32/file.c (rb_file_expand_path_internal): do not make invalid
(or ADS) path if the path has a drive le...
U.Nakamura
04:57 AM Bug #10717: TestGemExtCmakeBuilder#test_self_build fails on RHEL 6/CentOS 6
At r50668, r49703 is partially merged into `ruby_2_1`. usa (Usaku NAKAMURA)
04:56 AM Revision e8dc702f (git): Partially merge revision 49195: [Bug #10717]
Support cmake 2.6 which is used by RHEL6/ CentOS 6
https://github.com/rubygems/rubygems/pull/1124
git-svn-id: svn+s...
U.Nakamura
04:47 AM Bug #10991: SIGSEGV in Marshal.load
At r50667, fixed `ruby_2_1` branch.
The branch is quite different from trunk, so only an essential part of r50057 wa...
usa (Usaku NAKAMURA)
04:43 AM Revision 847b7bcf (git): * marshal.c (r_symreal): register the symbol name first so that
r_symlink always returns valid names. [Bug #10991]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50...
U.Nakamura
04:05 AM Bug #11196 (Third Party's Issue): [SEGFAULT] when running rails s and rake commands
The usual rvm issue.
You mixed an extension library for 2.0.0.
~~~
2 ruby 0x0...
nobu (Nobuyoshi Nakada)
12:32 AM Bug #11196 (Third Party's Issue): [SEGFAULT] when running rails s and rake commands
Cannot run rails s or rake commands from command line. Command line kept throwing errors with postgres and gemfile (f... aps913 (Arati Sureddi)
02:24 AM Feature #11145 (Closed): [PATCH] socket: avoid redundant fcntl with MSG_DONTWAIT
Applied in changeset r50666.
----------
socket: avoid redundant fcntl on Linux
* ext/socket/ancdata.c (bsock_sendms...
Anonymous
02:24 AM Revision d8bbb5ed (git): socket: avoid redundant fcntl on Linux
* ext/socket/ancdata.c (bsock_sendmsg_internal,
bsock_recvmsg_internal):
avoid redundant fcntl on Linux
[ruby-c...
Eric Wong
02:16 AM Revision 1dd4c763 (git): ChangeLog: add missing reference [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
02:06 AM Bug #11182: Refinement with alias causes strange behavior
Koichi Sasada wrote:
> Wait. `each` is not good terminology for our project. Use `iterate` intead.
>
> ```ruby
>...
shugo (Shugo Maeda)
01:48 AM Feature #11124: [PATCH] lib/*: use monotonic clock for timeouts
"NARUSE, Yui" <[email protected]> wrote:
> I don't know an environment which doesn't have CLOCK_MONOTONIC though it...
normalperson (Eric Wong)
01:40 AM Revision 16aeffef (git): lib/*: use monotonic clock for timeouts
The monotonic clock is preferred as it is guaranteed to be
continuous and not subject to jumps due to adjustments.
*...
Eric Wong

05/28/2015

10:50 PM Bug #11193 (Rejected): begin-rescue Malfunctions with Threads

Threads execute asynchronously, whereas exceptions are synchronous.
An exception terminated the thread is reported...
nobu (Nobuyoshi Nakada)
04:05 PM Bug #11193 (Rejected): begin-rescue Malfunctions with Threads
Explanation resides at the attached test_case.rb.
Thank You for Your time.
martin_vahi (Martin Vahi)
10:38 PM Feature #11195: Add "no_proxy" parameter to Net::HTTP.new
See also https://github.com/jruby/jruby/issues/2983 and https://bugs.ruby-lang.org/issues/11194. headius (Charles Nutter)
10:37 PM Feature #11195 (Closed): Add "no_proxy" parameter to Net::HTTP.new
Net::HTTP.new currently accepts parameters for proxy host, proxy port, proxy username, and proxy password.
It does...
headius (Charles Nutter)
10:31 PM Bug #11182: Refinement with alias causes strange behavior
Alias does not redispatch, so this is the result I'd expect. These are some of the edge cases that I don't think we c... headius (Charles Nutter)
09:57 AM Bug #11182: Refinement with alias causes strange behavior
Let's discuss with use cases. I don't have good example, but please assume we want to make new Hash class to support ... ko1 (Koichi Sasada)
09:22 AM Bug #11182: Refinement with alias causes strange behavior
I wrote pictures again for original examples D, C and M.
![(1) Like module include model (on original example)](6....
ko1 (Koichi Sasada)
08:03 AM Bug #11182 (Feedback): Refinement with alias causes strange behavior
Koichi Sasada wrote:
> With model (1), it seems C#foo will be called.
> WIth model (2), it seems M::C#foo will be c...
shugo (Shugo Maeda)
10:24 PM Bug #11194: Refactor env-sourced proxy logic for uri/generic
The net/http changes can be ignored; they remove an earlier incorrect mechanism for honoring the JVM properties. headius (Charles Nutter)
10:23 PM Bug #11194 (Closed): Refactor env-sourced proxy logic for uri/generic
For https://github.com/jruby/jruby/issues/2983 we are modifying uri/generic.rb's find_proxy logic to also check the J... headius (Charles Nutter)
07:40 PM Revision c1b35ab1 (git): * 2015-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:40 PM Revision 6abf7938 (git): * ext/objspace/objspace.c: add two methods to debug internals.
* ObjectSpace.internal_class_of: return RBASIC_CLASS(obj).
* ObjectSpace.internal_super_of: return RCLASS_SUPER(cls...
ko1 (Koichi Sasada)
05:57 PM Feature #11191: Add #to_h method to OptionParser
> I think having strings is better than nothing, but I do think symbols would be better.
You want symbols, I'm gue...
zzak (zzak _)
02:58 PM Feature #11191: Add #to_h method to OptionParser
> This is not acceptable as-is though, because of the design that an `OptionParser` instance should not be modified (... injekt (Lee Jarvis)
05:34 PM Feature #11181: Add a line directive to Ruby
I have changed the code to use the **magic comment** feature. To use the directive you now use:
# -*- line: f...
gam3 (Allen Morris)
02:25 PM Bug #11192 (Closed): capture group special variable with large index invokes UB
~~~
$ ruby --dump=parsetree -e "$9999999999"
###########################################################
## Do NOT...
cremno (cremno phobia)
08:38 AM Feature #11124: [PATCH] lib/*: use monotonic clock for timeouts
I don't know an environment which doesn't have CLOCK_MONOTONIC though it may be.

2015-05-28 6:13 GMT+09:00 Eric W...
naruse (Yui NARUSE)
07:17 AM Revision 4d059bf9 (git): generator.c: allocate structs with wrapper
* ext/json/generator/generator.c (cState_s_allocate): allocate
structs with making new wrapper objects and get rid ...
nobu (Nobuyoshi Nakada)
07:17 AM Revision cbf902fc (git): parser.rl: allocate structs with wrapper
* ext/json/parser/parser.rl (cJSON_parser_s_allocate): allocate
structs with making new wrapper objects and get rid...
nobu (Nobuyoshi Nakada)
06:46 AM Revision 828de1a0 (git): win32ole.c: wrapper object before alloc
* ext/win32ole/win32ole.c (Init_win32ole): make wrapper object
before making st_table.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
06:45 AM Revision fbc67dbf (git): tcltklib.c: allocate structs with wrapper
* ext/tk/tcltklib.c (ip_create_slave_core): allocate structs with
making new wrapper objects and get rid of potenti...
nobu (Nobuyoshi Nakada)
06:44 AM Revision d5026011 (git): tkutil.c: check arguments type
* ext/tk/tkutil/tkutil.c (cbsubst_get_subst_key): check arguments
type. implicit conversion is disabled to get rid...
nobu (Nobuyoshi Nakada)
05:53 AM Revision 0c58f697 (git): tkutil.c: check type
* ext/tk/tkutil/tkutil.c (cbsubst_get_subst_key): ensure the
result type of a method call to be an array before acc...
nobu (Nobuyoshi Nakada)
12:55 AM Bug #10979: Hash fails to distinguish 0.0 & -0.0
ruby_2_1 r50655 merged revision(s) 49999,50000. usa (Usaku NAKAMURA)
12:54 AM Revision ed737b87 (git): merge revision(s) 49999,50000: [Backport #10979]
* hash.c (rb_any_hash): use same hash values with Float#hash so
that -0.0 and +0.0 will be identical.
...
U.Nakamura
 

Also available in: Atom