Project

General

Profile

Activity

From 06/13/2014 to 06/19/2014

06/19/2014

10:44 PM Feature #9953: set_trace_func values which could be frozen or symbols
Hi,
> event_type becomes a symbol (or could be single frozen string per distinct event type)
Now, TracePoint#ev...
ko1 (Koichi Sasada)
10:27 PM Revision 07413b1a (git): * test/ruby/test_settracefunc.rb: rewrite tests with
assert_consistent_call_return().
assert_consistent_call_return() is also modified to check
consistency.
git-sv...
ko1 (Koichi Sasada)
10:09 PM Bug #9964 (Closed): TracePoint invoke unexpected b_call events with redo
Applied in changeset r46471.
----------
* compile.c (rb_iseq_compile_node): put start label of block after
trace (...
ko1 (Koichi Sasada)
10:07 PM Bug #9964 (Closed): TracePoint invoke unexpected b_call events with redo

次のようなプログラムで、無限に b_call が発生し、対応する b_return が発生しません。
```ruby
1.times{
redo
}
```
これは、redo で b_call イベントを発...
ko1 (Koichi Sasada)
10:09 PM Revision 13f0b628 (git): * compile.c (rb_iseq_compile_node): put start label of block after
trace (b_call).
[Bug #9964]
* test/ruby/test_settracefunc.rb: add a test.
added assert_consistent_call_return() m...
ko1 (Koichi Sasada)
08:28 PM Revision 500f9777 (git): * 2014-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:27 PM Revision 15397de0 (git): * vm_eval.c (rb_catch_protect): fix same problem of [Bug #9961].
* vm_eval.c (rb_iterate): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46469 b2dd03c8-39d4-4d8f-98ff-8...
ko1 (Koichi Sasada)
08:24 PM Bug #9956: sqlite3_native.bundle: [BUG] Segmentation fault at 0x00000000000418
thanks! I did an rvm implode, as well as brought the system ruby under rvm control ( which may not have been a good i... rdgco (Ryan Grow)
03:14 AM Bug #9956 (Third Party's Issue): sqlite3_native.bundle: [BUG] Segmentation fault at 0x00000000000418
You use a shared object linked against 2.0.0.
This happens with RVM very often.
~~~
-- C level backtrace informa...
nobu (Nobuyoshi Nakada)
07:35 PM Feature #9963 (Feedback): Symbol.count
I'd like to add a way to get the size of Ruby's symbol table. This is currently possible by using `Symbol.all_symbols... davidcornu (David Cornu)
07:15 PM Bug #9962: Numeric.new
Numeric.new 自体は、
test/ruby/test_numeric.rb に
```ruby
assert_raise(TypeError) { -Numeric.new }
```
とあった...
ko1 (Koichi Sasada)
01:34 PM Bug #9962 (Rejected): Numeric.new
Numeric.new はできないようにしないといけないのでは……。
以前 Numeric の子孫は全部 new を殺したのに、まさかすぎて忘却してたようですね。
これ仕様変更かもしんないけど、backport はすべきなんす...
usa (Usaku NAKAMURA)
04:05 PM Bug #9486: Multiple Kernel#local_variables entries with block local parameters
r45850 is not a subject to be backported. nobu (Nobuyoshi Nakada)
03:56 PM Bug #9486: Multiple Kernel#local_variables entries with block local parameters
Hello,
These changesets introduce incompatibilities.
I think r45845 and r45856 could be backported (these fix the...
nagachika (Tomoyuki Chikanaga)
03:58 PM Bug #9454: The define_method(:class) segfault
r44712, r44715, r44716, r44722, r44725, r44726 and r44753 were backported into `ruby_2_1` branch at r46468. nagachika (Tomoyuki Chikanaga)
03:56 PM Revision ced638cc (git): merge revision(s) r44712,r44715,r44716,r44722,r44725,r44726,r44753: [Backport #9454] [Backport #9828]
* thread_pthread.c: get current main thread stack size, which may
be expanded than allocated size at initia...
nagachika (Tomoyuki Chikanaga)
03:23 PM Bug #8358: TestSprintf#test_float test failure
r44474, r44538, r44539, r44890 and r44896 were already backported into ruby_2_1 at r44993.
And r45954 was backported...
nagachika (Tomoyuki Chikanaga)
03:22 PM Revision 0c550392 (git): merge revision(s) r45954: [Backport #8358]
* configure.in: enable SSE2 on mingw. target='i386-pc-mingw32'.
[ruby-core:62095] [Bug #8358]
git-svn-id:...
nagachika (Tomoyuki Chikanaga)
03:16 PM Bug #8349: [mingw] adding -mfpmath=sse -msse2 causes segv on Windows 7
r44539 was already backported into ruby_2_1 at r44993. nagachika (Tomoyuki Chikanaga)
02:11 PM Revision 3f3c86fa (git): common.mk: fix dependencies
* common.mk, defs/gmake.mk: fix install and uninstall dependencies
with parallel make.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
01:36 PM Bug #9822: Ruby doesn't respect system OpenSSL configuration
Can anyone review this? Patch is very simple (one line!).
Also, there is related issue: https://bugs.ruby-lang.or...
Envek (Andrey Novikov)
12:43 PM Bug #9961 (Closed): TracePoint can skip c_return with rb_rescue()
Applied in changeset r46465.
----------
* vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
with i...
ko1 (Koichi Sasada)
12:40 PM Bug #9961 (Closed): TracePoint can skip c_return with rb_rescue()
下記のようなテストに失敗します。
```ruby
def test_rb_rescue
events = []
curr_thread = Thread.current
TracePoint....
ko1 (Koichi Sasada)
12:43 PM Revision bef2e29a (git): * vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
with invoking RUBY_EVENT_C_RETURN.
[Bug #9961]
* vm_core.h: ditto.
* eval.c (rb_protect): use it.
* eval.c (rb_resc...
ko1 (Koichi Sasada)
11:30 AM Feature #9960: Add support for GNU --long options
Jari Aalto wrote:
> * Prefer uppercase "V" for version, as small "v" is customarily user for --verbose.
'-v' is v...
nobu (Nobuyoshi Nakada)
11:28 AM Feature #9960 (Feedback): Add support for GNU --long options
Jari Aalto wrote:
> Please consider adding GNU --long option equivalents. Notes:
>
> * Prefer uppercase "V" for v...
nobu (Nobuyoshi Nakada)
11:09 AM Feature #9960: Add support for GNU --long options
[With markup]
Please consider adding GNU --long option equivalents. Notes:
* Prefer uppercase "V" for version, ...
jaalto (Jari Aalto)
11:06 AM Feature #9960 (Feedback): Add support for GNU --long options
Please consider adding GNU --long option equivalents. Notes:
* Prefer uppercase "V" for version, as small "v" is c...
jaalto (Jari Aalto)
10:49 AM Bug #9959 (Closed): TracePoint can invoke inconsistent call event with bmethod
Applied in changeset r46464.
----------
* vm.c (invoke_block_from_c): move call/return event timing for
bmethod. I...
ko1 (Koichi Sasada)
10:47 AM Bug #9959 (Closed): TracePoint can invoke inconsistent call event with bmethod
define_method で定義したメソッド(以降、bmethod)を実行するとき、引数のエラーがあったとき、call イベントのみ発生し、return イベントが発生しない、という問題がありました。
```ruby
d...
ko1 (Koichi Sasada)
10:49 AM Revision 370212a8 (git): * vm.c (invoke_block_from_c): move call/return event timing for
bmethod. It can invoke inconsistent call event if this call raises
argument error.
[Bug #9959]
* vm_insnhelper.c ...
ko1 (Koichi Sasada)
10:25 AM Bug #9958 (Feedback): rails server error
You lost most important part of the error log.
Please run with `>& error.log` and attach the log file.
nobu (Nobuyoshi Nakada)
09:27 AM Bug #9958: rails server error
It seems that this issue is a duplicate of Bug #9411, #8591 phasis68 (Heesob Park)
09:09 AM Bug #9958 (Closed): rails server error
The following error is my error. please help.
I use window 7 64bits. I was install mysql2 already. but it cannot sta...
sopheak (Sopheak neang)
10:22 AM Bug #9411 (Third Party's Issue): Rails server not started with Ruby(ruby 2.0.0p353 (2013-11-22) [x64-mingw32] with Rails 4.0.2 and MySQL Server 5.6)
nobu (Nobuyoshi Nakada)
09:17 AM Bug #9957 (Closed): TracePoint catch b_return at rescue/ensure
Applied in changeset r46463.
----------
* vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
rescue...
ko1 (Koichi Sasada)
09:01 AM Bug #9957 (Closed): TracePoint catch b_return at rescue/ensure
TracePonit では b_return という、ブロックから出る時のイベントがあるのですが、rescue 節から大域脱出で抜けるとき、誤って b_return イベントを発生させていました。そのため、次のようなテストで失敗します... ko1 (Koichi Sasada)
09:17 AM Revision 59bdf7ea (git): * vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
rescue clause.
* vm.c (vm_exec): use VM_FRAME_MAGIC_RESCUE on at rescue/ensure.
* test/ruby/test_settracefunc.rb: sho...
ko1 (Koichi Sasada)
06:08 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
I agree that this should be backported to 2.1 branch.
Is there any opposite opinion?
nagachika (Tomoyuki Chikanaga)
05:27 AM Bug #9759: [TracePoint API] return event missing when raising exception
Hello, David.
Sorry for late response.
I'll handle about r44535 at #9321.
Thank you for your notice!
nagachika (Tomoyuki Chikanaga)
05:07 AM Bug #9954: Unexpected Hash Modification and Segmentation Fault with Named Arguments
2.1.2p132 segfaults by your script, due to the access to the non-Hash object as a Hash object.
r46342 fixes it to re...
nobu (Nobuyoshi Nakada)
03:39 AM Bug #9954: Unexpected Hash Modification and Segmentation Fault with Named Arguments
Hmm... that doesn't really seem like the same issue (it has totally different symptoms from what I described here) bu... Ajedi32 (Ajedi32 W)
03:05 AM Bug #9954 (Closed): Unexpected Hash Modification and Segmentation Fault with Named Arguments
nobu (Nobuyoshi Nakada)
04:42 AM Feature #9783 (Closed): [PATCH] Add Method#curry
Applied in changeset r46461.
----------
proc.c: Implement Method#curry
* proc.c (rb_method_curry): Implement Method...
nobu (Nobuyoshi Nakada)
04:42 AM Revision c4bbf190 (git): * 2014-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:42 AM Revision b2066b11 (git): proc.c: Implement Method#curry
* proc.c (rb_method_curry): Implement Method#curry, which delegates
to to_proc.curry. [ruby-core:62212] [Feature #...
nobu (Nobuyoshi Nakada)

06/18/2014

11:19 PM Feature #9783: [PATCH] Add Method#curry
Looks good to me, except that I don't see any real use-case.
But it's true for Proc#curry itself.
Matz.
matz (Yukihiro Matsumoto)
09:46 PM Bug #9956 (Third Party's Issue): sqlite3_native.bundle: [BUG] Segmentation fault at 0x00000000000418
I am attempting to create a new rails project using rails 4.1.1 and ruby-2.1.2 [ x86_64 ], I am also seeing the same ... rdgco (Ryan Grow)
06:50 PM Bug #9955 (Closed): issue building dll on mingw, library not found
I hit a bug similar to https://bugs.ruby-lang.org/issues/8901. I'm building Ruby on MinGW using msys. When I run ma... lm (Laura Michaels)
04:44 PM Bug #9954 (Closed): Unexpected Hash Modification and Segmentation Fault with Named Arguments
While experimenting with named arguments in Ruby 2.1.2, I encountered some strange behavior where a hash was modified... Ajedi32 (Ajedi32 W)
03:34 PM Feature #9953 (Open): set_trace_func values which could be frozen or symbols
I have been changing JRuby's tracing support internally and notice we churn through lots of extra Ruby objects per se... enebo (Thomas Enebo)
12:25 PM Feature #9916: Hide Struct internal
Approved.
Matz.
matz (Yukihiro Matsumoto)
12:24 PM Feature #9889: Hide Hash internal
Approved.
Matz.
matz (Yukihiro Matsumoto)
12:24 PM Feature #9888: Hide Complex internal
Approved.
Matz.
matz (Yukihiro Matsumoto)
12:23 PM Feature #9863: Hide Float internal
Approved.
Matz.
matz (Yukihiro Matsumoto)
11:07 AM Bug #9951: DateTime.strftime and Time.strftime differ in how they treat "%L"
Akira, thanks for the "rational" suggestion. That appears to solve the problem for me. dchelimsky (David Chelimsky)
05:45 AM Bug #9951 (Rejected): DateTime.strftime and Time.strftime differ in how they treat "%L"
The problem of float is ruby can not know what user want to
specify 5.678 or 5.6779999999999999360511537815909832715...
akr (Akira Tanaka)
05:30 AM Bug #9951: DateTime.strftime and Time.strftime differ in how they treat "%L"
Time seems to truncate the fraction of second in strftime.
Here is a patch
~~~diff
diff --git a/strftime.c b/s...
phasis68 (Heesob Park)
04:40 AM Bug #9951 (Assigned): DateTime.strftime and Time.strftime differ in how they treat "%L"
`DateTime` seems to round the fraction of second in nanoseconds at initialization. nobu (Nobuyoshi Nakada)
02:17 AM Bug #9951 (Rejected): DateTime.strftime and Time.strftime differ in how they treat "%L"
~~~ruby
DateTime.new(2014,1,2,3,4,5.678).strftime("%L")
# => "678"
Time.new(2014,1,2,3,4,5.678).strftime("%L")
# ...
dchelimsky (David Chelimsky)
11:07 AM Bug #9092: Update Unicode data to Unicode Version 7.0
Unicode 7.0 has been released officially. Please see http://unicode-inc.blogspot.com/2014/06/announcing-unicode-stand... duerst (Martin Dürst)
10:12 AM Feature #9852: How to bundle test-unit2 and minitest5
I updated my patch. this patch downloads gems defined in gems/bundle_gems when package making time. hsbt (Hiroshi SHIBATA)
09:53 AM Feature #9857 (Feedback): Pathname#birthtime
機能はいいと思うんですが、この実装だと respond_to? で true になっちゃいますねぇ。
```
% ./ruby -rpathname -e 'p Pathname(".").respond_to?(:birth...
akr (Akira Tanaka)
08:55 AM Feature #9952 (Closed): Optimize object allocations in CSV::Row
I'm seeing a large number of unnecessary array allocations where CSV zips headers & field values together for each ro... avit (Andrew Vit)
06:16 AM Revision 2443fbcc (git): * 2014-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:16 AM Revision e99ee55a (git): constify parameters
* include/ruby/intern.h: constify `argv` parameters.
* include/ruby/ruby.h: ditto.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)

06/17/2014

01:04 PM Bug #9950: Segmentation fault in DateTime class
I guess this bug was solved with r42100.
Try with ruby 1.9.3p545
phasis68 (Heesob Park)
09:16 AM Bug #9950 (Closed): Segmentation fault in DateTime class
Line 34 of ingester.rb
updatedTime = DateTime.rfc2822(updatedTime)
+ ruby ingester.rb
ingester.rb:34: [BUG] Se...
samaitra (Saikat Maitra)
07:45 AM Revision a1660e97 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:45 AM Bug #9949 (Closed): Net::FTP#gettextfile truncates last line when missing newline before EOF
Applied in changeset r46457.
----------
* lib/net/ftp.rb (gets, readline): read lines without LF properly.
[ruby-c...
shugo (Shugo Maeda)
06:33 AM Bug #9949 (Assigned): Net::FTP#gettextfile truncates last line when missing newline before EOF
shugo (Shugo Maeda)
06:22 AM Bug #9949 (Closed): Net::FTP#gettextfile truncates last line when missing newline before EOF
Capturing a file from FTP using the default ftp.get (assuming binary is false) causes text files to get truncated bef... avit (Andrew Vit)
07:44 AM Revision 6479e0b0 (git): * lib/net/ftp.rb (gets, readline): read lines without LF properly.
[ruby-core:63205] [Bug #9949]
* test/net/ftp/test_buffered_socket.rb: related test.
git-svn-id: svn+ssh://ci.ruby-l...
shugo (Shugo Maeda)
03:37 AM Feature #8257 (Closed): Exception#cause to carry originating exception along with new one
Applied in changeset ruby-trunk:r46456.
----------
eval.c: pass unknown options
* eval.c (extract_raise_opts): pass...
nobu (Nobuyoshi Nakada)
02:34 AM Feature #8257: Exception#cause to carry originating exception along with new one
Vagrant hits the incompatibility:
https://github.com/mitchellh/vagrant/blob/master/plugins/providers/virtualbox/driv...
naruse (Yui NARUSE)
03:37 AM Revision d689dca6 (git): eval.c: pass unknown options
* eval.c (extract_raise_opts): pass unknown options to the
exception, so that exception class can receive a hash ar...
nobu (Nobuyoshi Nakada)
03:27 AM Revision b905ac81 (git): * gc.c (obj_memsize_of): memsize_of(T_ZOMBIE) returns 0, not a rb_bug.
ObjectSpace.count_objects_size() uses memsize_of(T_ZOMBIE).
This bug introduced at r46348.
git-svn-id: svn+ssh:/...
ko1 (Koichi Sasada)
12:59 AM Feature #9948: Safely insert an object into an array
"safely" sounds too vague. nobu (Nobuyoshi Nakada)
12:40 AM Feature #9948 (Closed): Safely insert an object into an array
When I insert an object using `Array#insert(index, object)` method (or `Array#[index]= object`), it happened sometime... sawa (Tsuyoshi Sawada)

06/16/2014

09:05 PM Feature #8839: Class and module should return the class or module that was opened
+1. I do not want to share my silly code where i would use it, but currently it may look something like that:
```...
alexeymuranov (Alexey Muranov)
08:23 PM Revision 08580181 (git): configure.in: extract date at build time
* Makefile.in, configure.in (Makefile): extract RUBY_RELEASE_DATE from
version.h at each build time.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
07:51 PM Revision 21c400c4 (git): * 2014-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:51 PM Revision 664d209d (git): runner.rb: instance variable
* test/runner.rb (before_setup, after_teardown): use an instance
variable instead of a class variable.
git-svn-id:...
nobu (Nobuyoshi Nakada)
04:00 PM Bug #9776: Ruby double-splat operator unexpectedly modifies hash
Backported into `ruby_2_1` branch at r46451. nagachika (Tomoyuki Chikanaga)
03:59 PM Revision 5a2f6a4a (git): merge revision(s) r45724: [Backport #9776]
* compile.c (compile_array_): make copy a first hash not to modify
the argument itself. keyword splat shou...
nagachika (Tomoyuki Chikanaga)
03:49 PM Feature #7793: New methods on Hash
FYI, Rails has a method similar to the proposed `map_k` called [`transform_keys`](http://api.rubyonrails.org/classes/... Ajedi32 (Ajedi32 W)
03:44 PM Feature #2509: Recursive freezing?
I think we can get the effect of having an error for edge cases (deep freezing a class, for example) by simply removi... marcandre (Marc-Andre Lafortune)
03:57 AM Feature #2509: Recursive freezing?
I agree. Even if we allow a programmer to shoot themselves, they must be able to know what's going on when they do s... shyouhei (Shyouhei Urabe)
03:43 PM Bug #9699: Cannot require .so file on Windows if the file path is unicode (Includes patch)
r45521, r45523 and r45551 were backported into `ruby_2_1` at r46450. nagachika (Tomoyuki Chikanaga)
03:42 PM Revision 12285fc1 (git): merge revision(s) r45521,r45523,r45551: [Backport #9699]
win32.c: wchar conversion
* win32/win32.c (rb_w32_wstr_to_mbstr, rb_w32_mbstr_to_wstr): make
WCHAR/mb conv...
nagachika (Tomoyuki Chikanaga)
03:35 PM Feature #7341: Enumerable#associate
This is related to #6669 Ajedi32 (Ajedi32 W)
03:34 PM Bug #9600: sysconf(_SC_GETGR_R_SIZE_MAX) is just a hint for getgrnam_r()
r45287, r45288, r45289 and r45290 were backported into `ruby_2_1` branch at r46449. nagachika (Tomoyuki Chikanaga)
03:33 PM Revision 7fd56bd3 (git): merge revision(s) r45287,r45288,r45289,r45290: [Backport #9600]
process.c: tmp buffer instead of alloca
* process.c (OBJ2UID1, OBJ2GID1): separate from OBJ2UID and
OBJ2GI...
nagachika (Tomoyuki Chikanaga)
03:28 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
I believe this is a duplicate of #6669 Ajedi32 (Ajedi32 W)
03:19 PM Bug #9593: Keyword arguments default argument assignment behaviour not consistent with optional argument
Hi,
I think this change should not be backported to stable branch.
I agree about that it is a long standing bug. ...
nagachika (Tomoyuki Chikanaga)
02:19 PM Feature #9947 (Open): Make `Object#send` and `Object#method` private
I propose to make `Object#send` and `Object#method` private.
* If someone wants to use public `#send` or `#method`...
alexeymuranov (Alexey Muranov)
10:01 AM Revision dbf25786 (git): * test/runner.rb: failure message should be passed as an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:45 AM Revision 3a1c08e5 (git): * test/runner.rb: capture TracePoint stat before setup and compare
it after teardown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
09:23 AM Revision e5af180e (git): * test/uri/test_generic.rb: fix wrong arguments for test case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:17 AM Revision 9761965d (git): * test/date/test_date_arith.rb: remove unused block argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:17 AM Revision ea7c1f4d (git): * test/date/test_date_strptime.rb: remove useless variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:06 AM Revision ca65a56b (git): string.c: no copy of interned strings
* string.c (sym_succ, sym_cmp, sym_casecmp, sym_match, sym_aref):
not need to make copy of interned strings, use di...
nobu (Nobuyoshi Nakada)
08:03 AM Revision 3a206c91 (git): vm_method.c: no RTEST on mere flag
* vm_method.c (basic_obj_respond_to): `priv` is not a VALUE but a
mere flag, so cannot call RTEST() on it.
git-svn...
nobu (Nobuyoshi Nakada)
07:05 AM Bug #9944 (Assigned): in ruby for windows in "system" a redirection to append a file works incorrectly
Yes, it is Windows specific, because `O_APPEND` is not supported by the system, but implemented in runtime libraries.... nobu (Nobuyoshi Nakada)
05:36 AM Bug #9946 (Closed): [Win32] redirection doesn't support non-codepage
Applied in changeset r46441.
----------
process.c: use UTF-8
* process.c (open): use UTF-8 version function to supp...
nobu (Nobuyoshi Nakada)
05:24 AM Bug #9946 (Closed): [Win32] redirection doesn't support non-codepage
~~~
> del t-*
> chcp
現在のコード ページ: 932
> .\ruby -v -e 'n="t-\u{30c6 30b9 30c8 f6}.txt"; p n; system("echo", Tim...
nobu (Nobuyoshi Nakada)
05:35 AM Revision fd444f90 (git): process.c: use UTF-8
* process.c (open): use UTF-8 version function to support
non-ascii path properly. [ruby-core:63185] [Bug #9946]
...
nobu (Nobuyoshi Nakada)
05:28 AM Revision 7539177d (git): * 2014-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:28 AM Revision d327c8da (git): process.c: variable as macro argument
* process.c (run_exec_open): use a local variable to get rid of
RARRAY_AREF() is evaluated multiple times by RSTRIN...
nobu (Nobuyoshi Nakada)

06/15/2014

07:03 PM Bug #9937: Segfault in the TracePoint API
Hi @ko1, I see that you made some changes in the TracePoint API, but the build is still segfaulting at the same place... deivid (David Rodríguez)
02:12 PM Feature #2509: Recursive freezing?
I have thought of the following solution: add simultaneously `Object#deep_freeze` and `Object#insulated?`. If `obj.i... alexeymuranov (Alexey Muranov)
01:51 PM Bug #9572: Restarting Coverage does not produce correct coverage result
I have been having this problem as well.
It seems good that Coverage.result resets the coverage data, but once Cov...
danmayer (Dan Mayer)
01:21 PM Revision 800c7af7 (git): vm_method.c: separate ID selection
* vm_method.c (rb_method_entry_make): separate selection of IDs to
be private from condition of method to be define...
nobu (Nobuyoshi Nakada)
11:49 AM Revision f3db73f1 (git): test_file_exhaustive.rb: fix expected value
* test/ruby/test_file_exhaustive.rb (test_expand_path_memsize):
correct expected value, count terminator byte. [Bu...
nobu (Nobuyoshi Nakada)
10:13 AM Bug #9944: in ruby for windows in "system" a redirection to append a file works incorrectly
If this is a Windows specific issue, here is a patch:
~~~diff
diff --git a/process.c b/process.c
index e626542.....
phasis68 (Heesob Park)
06:19 AM Bug #9945 (Closed): Segmentation fault when defining recursive method
nobu (Nobuyoshi Nakada)
12:49 AM Bug #9945: Segmentation fault when defining recursive method
My rubies don't reproduce this bug:
~~~
$ ruby -v
ruby 2.2.0dev (2014-06-07 trunk 46369) [x86_64-openbsd5.5]
$ ...
kernigh (George Koehler)
01:09 AM Revision 106f3e9d (git): test_file_exhaustive.rb: fix assertion
* test/ruby/test_file_exhaustive.rb (test_expand_path_memsize):
wrong expected value, considering a prefix (drive l...
nobu (Nobuyoshi Nakada)
01:09 AM Revision efc70c74 (git): process.c: use RB_TYPE_P
* process.c (check_exec_redirect): use RB_TYPE_P instead of single
comparison of TYPE().
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)

06/14/2014

11:13 PM Revision dcae4b9d (git): runner.rb: use class variable
* test/runner.rb (after_teardown): turn zombie traces hash into a
class variable.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
10:11 PM Revision 045b6e9f (git): runner.rb: check increment
* test/runner.rb (after_teardown): check increment of active trace
events.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
09:54 PM Revision 261aaedd (git): * 2014-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:54 PM Revision 5a83ce3f (git): runner.rb: include event name
* test/runner.rb (after_teardown): include active trace event name
in the failure message.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
08:56 PM Feature #8259: Atomic attributes accessors
Vit Z wrote:
> In such a use case, CAS reference equality would not work (sidestepping that JRuby
> pools some smal...
headius (Charles Nutter)
07:09 PM Feature #8259: Atomic attributes accessors
Petr Chalupa wrote:
> it certainly looks appealing and convenient to have atomic ivars, but I have an devil advocate...
thedarkone (Vit Z)
03:25 PM Feature #8259: Atomic attributes accessors
Responding to recent comments...
* Atomic operations for Array, Hash
I lean toward introducing purpose-built co...
headius (Charles Nutter)
02:44 PM Feature #8259: Atomic attributes accessors
Hello guys,
it certainly looks appealing and convenient to have atomic ivars, but I have an devil advocate's questio...
pitr.ch (Petr Chalupa)
04:54 PM Feature #2509: Recursive freezing?
This looks to me like a strange reason to reject too. If a programmer recursively freezes an object that will freeze... alexeymuranov (Alexey Muranov)
03:44 PM Bug #9945 (Closed): Segmentation fault when defining recursive method
The following code causes segmentation fault, although I expect it to create stack overflow.
```ruby
a = Object.n...
Soilent (Konstantin x)
01:52 PM Revision ba4ac50a (git): Restore date field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:41 PM Bug #9944 (Rejected): in ruby for windows in "system" a redirection to append a file works incorrectly
~~~
c:\Users\bdimych>
c:\Users\bdimych>
c:\Users\bdimych>
c:\Users\bdimych>
c:\Users\bdimych>C:\Ruby200\bin\ruby...
bdimych (Dmitry Bolshakov)
07:21 AM Bug #9267 (Closed): Document configure options
I've added wiki page for [Configuration Options](https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ConfigurationOpt... zzak (zzak _)
07:14 AM Bug #9234 (Closed): Documentation for upgrading to supported versions
Added wiki page with general index of major versions which links to each versions NEWS and change log if it exists.
...
zzak (zzak _)
06:43 AM Misc #9741 (Closed): Policy for Posting Security & General Announcements on www.ruby-lang.org
I've added a new wiki page: [HowToAnnounce](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToAnnounce). zzak (zzak _)
03:47 AM Revision 26930379 (git): Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:04 AM Bug #9934 (Closed): High memory usage from file_expand_path_*
Don't move projects, update Backport instead. nobu (Nobuyoshi Nakada)
01:55 AM Revision b654e071 (git): array.c: non-recursive rcombinate0
* array.c (rcombinate0): remove recursion, by looping with indexes
stored in `p`.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
01:55 AM Revision 4802149e (git): array.c: non-recursive rpermute0
* array.c (rpermute0): remove recursion, by looping with indexes
stored in `p`.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
01:54 AM Bug #9932 (Closed): Permutation - Segment fault
Applied in changeset r46426.
----------
array.c: non-recursive permute0
* array.c (permute0): remove recursion, by ...
nobu (Nobuyoshi Nakada)
01:54 AM Revision 9d6b7aed (git): array.c: non-recursive permute0
* array.c (permute0): remove recursion, by looping with indexes
stored in `p`. [ruby-core:63103] [Bug #9932]
git-...
nobu (Nobuyoshi Nakada)
01:54 AM Revision 02725fb6 (git): array.c: combinate0
* array.c (combinate0): extract.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46425 b2dd03c8-39d4-4d8f-98ff-823...
nobu (Nobuyoshi Nakada)
01:53 AM Revision 97292754 (git): string.c: fix wrong capa
* string.c (rb_str_resize): update capa only when buffer get
reallocated.
http://d.hatena.ne.jp/nagachika/2014061...
nobu (Nobuyoshi Nakada)
12:25 AM Misc #9438 (Closed): Implementation naming
I'm not sure how important it is to have consistent naming throughout the docs, both MRI and CRuby are applicable. Th... zzak (zzak _)
12:16 AM Bug #9904: remove rubyforge entries from rake.1
It is OK.
Eventually github.com/ruby/rake will become official, but it is OK for the man page to point there.
drbrain (Eric Hodel)
12:13 AM Bug #9904: remove rubyforge entries from rake.1
Yes, I’ve confirmed with Eric:
2:20 PM <drbrain> the "rake" name is taken

We’re going to use ruby/rake as the ca...
zzak (zzak _)
12:11 AM Misc #9219 (Closed): Policy Announcement for All Versions
We've already made maintenance announcements for 1.9.3 and only recently changed maintainers for 2.0.0.
In this ca...
zzak (zzak _)
12:09 AM Misc #9215 (Closed): Maintenance Policy for Future Releases (2.1.0 & beyond)
I've migrated my (pending) NEWS document from www.r-l.o to the wiki: [GeneralMaintenancePolicy](https://bugs.ruby-lan... zzak (zzak _)
12:03 AM Misc #9265 (Closed): Meeting Guide
Naruse has added initial [DevelopersMeetingRealtimeGuidelines](https://bugs.ruby-lang.org/projects/ruby/wiki/Develope... zzak (zzak _)
12:02 AM Bug #9943 (Closed): Ruby 1.9.3 improperly reports unused variable warnings
This is related to https://bugs.ruby-lang.org/issues/6693 and possibly https://bugs.ruby-lang.org/issues/7730.
Top...
cupakromer (Aaron Kromer)

06/13/2014

11:42 PM Revision 308960a4 (git): [DOC] Please see _the_ official issue tracker... [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
11:36 PM Bug #9904: remove rubyforge entries from rake.1
@zzak
Did you confirm this patch to drbrain?
Is github.com/ruby/rake official rake repository now?
hsbt (Hiroshi SHIBATA)
11:30 PM Bug #9904 (Closed): remove rubyforge entries from rake.1
Applied in changeset r46421.
----------
* man/rake.1: [DOC] Update links for Rake, patch by @hsbt [Bug #9904]
[Fix...
zzak (zzak _)
11:30 PM Revision 60512ea5 (git): * 2014-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:30 PM Revision 6b1a8e33 (git): * man/rake.1: [DOC] Update links for Rake, patch by @hsbt [Bug #9904]
[Fixes GH-628] https://github.com/ruby/ruby/pull/628 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46...
zzak (zzak _)
06:45 PM Bug #9934 (Open): High memory usage from file_expand_path_*
tmm1 (Aman Karmani)
11:31 AM Bug #9934: High memory usage from file_expand_path_*
Thanks for the fix! dbussink (Dirkjan Bussink)
04:07 PM Bug #9942 (Closed): reduce memory allocation in Array#permutation (fixed at r46416)
rb_ary_permutation() allocate unnecessary large temporary array.
It's fixed at r46416.
This ticket is only for ba...
nagachika (Tomoyuki Chikanaga)
03:27 PM Feature #9941 (Open): Issue a warning when `module` or `class` keyword causes re-initialization of a constant that will become the module/class name, instead of creating/reopening the module/class
I think that it would be appropriate to issue a warning similar to "warning: already initialized constant" when "`mod... alexeymuranov (Alexey Muranov)
09:01 AM Revision 4945572f (git): * vm_trace.c: add new method TracePoint.stat to debug
TracePoint mechanism.
Ruby users should not use this method. So I don't note this method
in the NEWS file.
* test...
ko1 (Koichi Sasada)
08:50 AM Bug #9940 (Closed): Unexpected throw from TracePoint hooks with recursive checking
Applied in changeset r46419.
----------
* vm_trace.c: clear and restore recursive checking thread local data
to av...
ko1 (Koichi Sasada)
08:46 AM Bug #9940 (Closed): Unexpected throw from TracePoint hooks with recursive checking
下記のようなプログラムで、2.0 と 2.1 以降で挙動が違います。
```ruby
stack = []
TracePoint.new(:c_call){|tp|
mid = tp.method_id
begi...
ko1 (Koichi Sasada)
08:50 AM Revision ddae6a05 (git): * vm_trace.c: clear and restore recursive checking thread local data
to avoid unexpected throw from TracePoint.
[Bug #9940]
* test/ruby/test_settracefunc.rb: add a test.
* thread.c: ad...
ko1 (Koichi Sasada)
08:34 AM Bug #9939 (Closed): segfault by modifying array during Array#combination
Applied in changeset r46418.
----------
array.c: combination on a shared copy
* array.c (rb_ary_combination): itera...
nobu (Nobuyoshi Nakada)
08:29 AM Bug #9939 (Closed): segfault by modifying array during Array#combination
~~~ruby
$ ruby -e 'a = [*0..500]' -e 'a.combination(2) {|*,x| a.clear}'
-e:2: [BUG] Segmentation fault at 0x0000000...
nobu (Nobuyoshi Nakada)
08:34 AM Revision 537b4a64 (git): array.c: combination on a shared copy
* array.c (rb_ary_combination): iterate on a shared copy, and use
array of indexes instead of array of chosen objec...
nobu (Nobuyoshi Nakada)
08:33 AM Revision 95bac4f7 (git): array.c: yield_indexed_values
* array.c (yield_indexed_values): extract from permute0(),
rpermute0(), and rcombinate0().
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
04:43 AM Revision e6f15575 (git): array.c: fix array size
* array.c (rb_ary_permutation): `p` is the array of size `r`, as
commented at permute0(). since `n >= r` here, buf...
nobu (Nobuyoshi Nakada)
01:02 AM Bug #9936: wrong zlib1.dll installed on windows
I confirmed the error message "%1 is not a valid Win32 application." occurred with 32-bit zlib1.dll and 64-bit ruby.e... phasis68 (Heesob Park)
12:07 AM Bug #9936: wrong zlib1.dll installed on windows
Hello Claudio,
Me again, once last thing I forgot to mention.
The error message you see: "%1 is not a valid Win...
luislavena (Luis Lavena)
12:04 AM Bug #9936: wrong zlib1.dll installed on windows
Hello Claudio,
Both installer and package of Ruby 2.0.0-p481 for x64 contains a 64-bits version of zlib1.dll
Yo...
luislavena (Luis Lavena)
12:00 AM Revision 0f25a808 (git): * 2014-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:00 AM Revision 559a8275 (git): add more test coverage for [ruby-core:63136] [Bug #9934]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tmm1 (Aman Karmani)
 

Also available in: Atom