Activity
From 07/05/2014 to 07/11/2014
07/11/2014
-
10:31 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- Alexandre Riveira wrote:
> Eric Wong wrote:
> >
> > Lowering TIME_QUANTUM_USEC (in thread_pthread.c) helps with t... -
08:34 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- Eric Wong wrote:
>
> Lowering TIME_QUANTUM_USEC (in thread_pthread.c) helps with the I/O case
> (try it yourself ... -
07:22 PM Revision 00eb7203 (git): * lib/net/smtp.rb (Net::SMTP#data): enable buffering while
- 'data' send for optimizing Net::SMTP#send_message.
[ruby-dev:48329] [misc #9981]
patch by Masahiro Tomita.
git-s... -
07:19 PM Feature #9981 (Assigned): Net::SMTP#send_message が大量の write(2) を発行する
- コードは問題なさそうに見えるし、賛成意見もついているし、メンテナがいないモジュールのようなので、
代理コミットしときますね。 -
02:22 PM Feature #9981: Net::SMTP#send_message が大量の write(2) を発行する
- In message <redmine.journal-47699.20140711064732.e1bfc429d603f917@ruby-lang.org>
on Fri, 11 Jul 2014 06:47:32 +000... -
06:47 AM Feature #9981: Net::SMTP#send_message が大量の write(2) を発行する
- どなたか SMTP にお詳しい方はいらっしゃいませんか.
-
04:42 PM Bug #10020: TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- r46791 にて、Solaris 9 以降で、以下を満たす場合に、それらの環境変数をセットして invoke_ruby するように変更しました。
* 環境変数 LD_PRELOAD, LD_PRELOAD_64 (または LD... -
04:32 PM Bug #10020 (Closed): TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- Applied in changeset r46791.
----------
* test/ruby/envutil.rb (assert_no_memory_leak): On Solaris 9 or later,
if ... -
12:11 PM Bug #10020: TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- TestEnv#test_memory_leak_* に関しては、
Illumos(旧OpenSolaris)のソース usr/src/lib/libc/port/gen/getenv.c を見る限り、
setenv() 内で m... - 04:32 PM Revision f11c30e8 (git): * 2014-07-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:32 PM Revision ca1c23e2 (git): * test/ruby/envutil.rb (assert_no_memory_leak): On Solaris 9 or later,
- if possible, execute child ruby with environment variables
LD_PRELOAD=libumem.so UMEM_OPTIONS="backend=mmap". With ... -
02:10 PM Revision 47adf570 (git): symbol.c: remove dependency on parse.h
- * symbol.c (op_tbl): remove non-regular symbols.
* symbol.c (global_symbols): start from the next of the preserved
... -
02:10 PM Bug #9499: The Vector.cross_product function returns the opposite vector of the expected result
- backported at r46789.
-
02:09 PM Bug #9499 (Closed): The Vector.cross_product function returns the opposite vector of the expected result
- Applied in changeset ruby-21:r46789.
----------
merge revision(s) r46780: [Backport #9499]
* lib/matrix.rb: Fix si... -
02:08 PM Revision feea0a9e (git): merge revision(s) r46780: [Backport #9499]
- * lib/matrix.rb: Fix sign for cross_product [#9499]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@4... -
01:58 PM Revision f063a0b5 (git): fix plural form [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:52 PM Revision d33d22c7 (git): parse.y: rename Init_parser
- * parse.y (rb_init_parse): rename to get rid of name clash with
json/parser at statically linking.
git-svn-id: svn... - 11:51 AM Revision 803232c8 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:50 AM Revision 61087704 (git): * ext/win32ole/win32ole.c: add WIN32OLE_RECORD class to support
- VT_RECORD OLE variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:39 AM Bug #10029: miss probes.h when nmake
- How did you get the source, and what is the exact revision?
-
08:53 AM Bug #10029: miss probes.h when nmake
- ```
G:\ruby-2.1.2>nmake array.obj -n
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (... -
08:50 AM Bug #10029: miss probes.h when nmake
- The version 6.00.8168.0 of nmake.exe is a part of Visual Studio 6.0.
It seems that ruby-2.1.2 cannot be built with V... -
08:31 AM Bug #10029: miss probes.h when nmake
- Nobuyoshi Nakada wrote:
> I can't reproduce your environment.
Me too.
-
08:23 AM Bug #10029 (Feedback): miss probes.h when nmake
- I can't reproduce your environment.
probes.h should be copied from probes.dmyh.
~~~
> nmake array.obj -n
... -
08:10 AM Bug #10029 (Closed): miss probes.h when nmake
- ```
G:\ruby-2.1.2>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft ... -
08:16 AM Revision 28cdf9b1 (git): * lib/abbrev.rb: remove executable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:02 AM Bug #10028 (Rejected): nested rest keyword argument
- ネストしたrest argumentは通りますが
~~~ruby
def f((*a)) end
~~~
ネストしたrest keyword argumentはsyntax errorになります。
~~~ruby... -
07:54 AM Bug #10027 (Feedback): make at windows , err : _rb_file_expand_path_internal already defined in file. obj
- I can't reproduce it.
Could you try `nmake V=1`? -
12:55 AM Bug #10027 (Rejected): make at windows , err : _rb_file_expand_path_internal already defined in file. obj
- ```
G:\ruby-2.1.2\win32>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Micr... -
07:51 AM Bug #6716 (Closed): FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる
- Applied in changeset r46783.
----------
* lib/fileutils.rb: handle ENOENT error with symlink targeted to
non-exist... -
07:51 AM Revision c2eac0e7 (git): * lib/fileutils.rb: handle ENOENT error with symlink targeted to
- non-exists file. [ruby-dev:45933] [Bug #6716]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46783 b2dd03c8-39d4-... -
07:07 AM Bug #9775 (Feedback): Segmentation Fault
-
07:00 AM Bug #9901 (Closed): Clarify documentation for Array#insert
- Applied in changeset r46782.
----------
* array.c: Clarify documentation for Array#insert.
[ruby-core:62934] [Bug ... -
07:00 AM Revision 94bbd10e (git): * array.c: Clarify documentation for Array#insert.
- [ruby-core:62934] [Bug #9901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46782 b2dd03c8-39d4-4d8f-98ff-823fe6... -
06:57 AM Feature #9916 (Assigned): Hide Struct internal
-
06:52 AM Bug #9950 (Feedback): Segmentation fault in DateTime class
-
06:50 AM Feature #9963 (Feedback): Symbol.count
-
06:41 AM Bug #10012 (Closed): Improve Documentation for IO.read
- Applied in changeset r46781.
----------
* io.c: Improve Documentation by @dapplebeforedawn.
[fix GH-658] [ruby-cor... -
06:41 AM Revision dcf296f7 (git): * io.c: Improve Documentation by @dapplebeforedawn.
- [fix GH-658] [ruby-core:63579] [Bug #10012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46781 b2dd03c8-39d4-4d... - 05:19 AM Revision 72d05366 (git): * lib/matrix.rb: Fix sign for cross_product [#9499]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:13 AM Revision 9412551e (git): * benchmark/prepare_so_k_nucleotide.rb: use require_relative.
- * benchmark/prepare_so_reverse_complement.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46779 b2dd0... -
02:04 AM Bug #10026 (Feedback): Segmentation fault
- Probably `malloc_usable_size` would access the pointer - 8, that means `ruby_xfree` was called with `(void *)1`.
Doe... -
01:09 AM Bug #10019 (Closed): segmentation fault/buffer overrun in pack.c (encodes)
- Applied in changeset r46778.
----------
pack.c: fix buffer overrun
* pack.c (encodes): fix buffer overrun by tail_l... -
01:09 AM Revision 8a608d2b (git): pack.c: fix buffer overrun
- * pack.c (encodes): fix buffer overrun by tail_lf. Thanks to
Mamoru Tasaka and Tomas Hoger. [ruby-core:63604] [Bu... -
12:41 AM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- OK I will update to TypeError - the method argument does need to support the Pathname interface.
As for the subcla...
07/10/2014
-
11:52 PM Bug #10026: Segmentation fault
- [email protected] wrote:
> Here is the Other runtime information
>
> https://gist.github.com/maletor/df43091aca5... -
11:36 PM Bug #10026: Segmentation fault
- Here is the Other runtime information
https://gist.github.com/maletor/df43091aca5e9b7ee534 -
11:30 PM Bug #10026 (Closed): Segmentation fault
- The following segmentation fault is from running tests with RSpec on a somewhat large test suite. The results of the ...
-
11:48 PM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- At the end of the day, I just want something more friendly than a `NoMethodError` from inside the method, so I won't ...
-
11:19 PM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- I agree with the confusion - initially I thought :to_path could be used, but despite its name it returns a string, he...
-
03:25 PM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- I don't think we should add a method to String; there is an existing path coercion protocol (`to_path` and `File.path...
-
08:08 AM Bug #10011: Passing a string to Pathname#relative_path_from results in NoMethodError
- ok so I have 2 possible fixes, one of which I've implemented
The unimplemented fix is maybe a new method along th... -
08:46 PM Bug #7707: FileUtils.mv fails to move symlink between filesystems
- In Homebrew, we have code that works around this by shelling out to `mv` when necessary. It would be nice to have thi...
-
06:45 PM Bug #10025 (Closed): Incorrect wrapping of base64 output of Array.pack()
- String format directive `m` for Array `pack()` is documented as:
~~~
m | String | base64 encoded stri... -
06:22 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- Nobuyoshi Nakada wrote:
> But if `tail_lf` is 1, `len` is a multiple of 3, so it can't be 3070.
`len` in `encodes... -
01:32 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- Am I missing something?
-
01:23 PM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- But if `tail_lf` is 1, `len` is a multiple of 3, so it can't be 3070.
-
09:28 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- ... and type is not 'u'.
-
09:24 AM Bug #10019: segmentation fault/buffer overrun in pack.c (encodes)
- Looking at encodes(), it seems at least when
* len = 3070 (= ((4096 - 4) / 4 * 3 + 1))
* tail_lf = 1
encodes() cau... -
04:36 PM Bug #10024 (Rejected): Array injection of ternary operators injects boolean rather than ternary result
- `<<` and `>>` are shift operators primarily, and have higher precedence.
-
04:28 PM Bug #10024: Array injection of ternary operators injects boolean rather than ternary result
- The `#<<` has a higher precedence than the ternery operator. Using #<<= seems to make it work just fine.
-
03:40 PM Bug #10024 (Rejected): Array injection of ternary operators injects boolean rather than ternary result
- The following code:
```ruby
a = []
a << ''.blank? ? 'blank' : 'not blank'
puts a
```
renders `[true]`.
I... - 03:22 PM Revision 70451a56 (git): * 2014-07-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 PM Revision 90b1b2e6 (git): * hash.c (ruby_setenv): Fix TestEnv#test_aset failure on Solaris 9.
- When name contains '=', ruby_setenv raises Errno::EINVAL.
That is the same behavior as Solaris 10.
NULL check for... -
01:44 PM Bug #10023 (Rejected): Hash#merge fails duplicating objects
- Not a bug.
`A[:b]` and `c[:b]` refer the same object.
Check its `object_id`. -
01:44 PM Bug #10023: Hash#merge fails duplicating objects
- Please, note that only Rails' `deep_dup` seems helpful to workaround the issue
-
01:42 PM Bug #10023: Hash#merge fails duplicating objects
- The same with duplication
>> c=A.dup #same .clone
=> {:b=>{}}
>> c.merge!({c: {d: 'e'}})
=> {:b=>{}, :c=>{:d=>"... -
01:38 PM Bug #10023: Hash#merge fails duplicating objects
- Please, also note that Rails' `deep_merge` does not help
-
01:36 PM Bug #10023 (Rejected): Hash#merge fails duplicating objects
- Here is an example in IRB (ruby 2.1.2):
>> A={b:{}}
=> {:b=>{}}
>> c=A.merge({c: {d: 'e'}})
=> {:b=>{}, :c=>{:d=>... -
10:55 AM Bug #9985: Gems documenation is not generated when installing local gem with --ignore-dependencies option
- Fixed: https://github.com/rubygems/rubygems/commit/c16846bf9e0b90521029f0d743620f138ee2236e
-
07:11 AM Feature #8895: Destructuring Assignment for Hash
- +1 for this proposal.
I feel it is fine for me:
```ruby
k1: 1, k2: 2 = h
kr1:, kr2: = h
#=> same as
... -
06:04 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- Alexandre Riveira wrote:
> information that I consider important
> Kernels BFS and ruby 1.9.2 work fine as if appli... -
06:03 AM Bug #10016 (Closed): Destructuring block arguments with a Hashable last element
- Applied in changeset r46775.
----------
vm_insnhelper.c: fix implicit splat keyword argument
* vm_insnhelper.c (vm_... -
06:02 AM Revision 813ad489 (git): vm_insnhelper.c: fix implicit splat keyword argument
- * vm_insnhelper.c (vm_callee_setup_keyword_arg): adjust VM stack
pointer to get rid of overwriting splat arguments ... -
04:17 AM Revision 01bced94 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 AM Revision ef3ff649 (git): gc.c: fix typo
- * gc.c (global_list): fix typo, capital 'L'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46773 b2dd03c8-39d4-4... -
12:49 AM Feature #10018: Consider adding Sub-Includes as in include Foo::bar
- And method transplanting only works when the method does not call super nor other Enumerable methods.
Automatic reso... -
12:45 AM Bug #10022 (Rejected): Inconsistent behavior of gsub replacement
- The second argument is evaluated **before** calling `gsub` method.
Call it with a block:
~~~ruby
puts str.gsub(/... -
12:39 AM Bug #10022 (Rejected): Inconsistent behavior of gsub replacement
- In the following code, the two gsub's yield different results. ([[https://gist.github.com/franklsf95/6c0f8938f28706b5...
07/09/2014
-
08:38 PM Bug #10021: OptParse does not handle missing arguments bracketed by valid option switches
- When I try this:
~~~
--re-run x -r --rerun y -- file
~~~
Then I see this
~~~
:in `eval': Only on... -
08:21 PM Bug #10021 (Closed): OptParse does not handle missing arguments bracketed by valid option switches
- OS=CentOS-6.5 x86_64
Ruby=2.1.2p95
I have this in an optparse structure:
# Create parser
opts = O... -
07:28 PM Feature #10017: Add `Hash#fetch_values`
- Please consider the name `fetch_at` carefully: it seems easily confused with `fetch` (1 key), and the name doesn't hi...
-
07:00 PM Feature #10017: Add `Hash#fetch_values`
- I attached another patch calling this method fetch_at and I also added missing tests (I couldn't change issue title &...
-
02:12 PM Feature #10017: Add `Hash#fetch_values`
- +1 for `fetch_at`.
-
04:04 AM Feature #10017: Add `Hash#fetch_values`
- `fetch_at` sounds much better than values_at! to me.
-
06:43 PM Bug #10015: Performance regression in Dir#[]
- Btw, you're already paying significant costs for a case-insensitive FS
(not just Ruby, but things like git, too). -
04:05 PM Bug #10015: Performance regression in Dir#[]
- Thanks nobu, I really appreciate it! If it can't be fixed, I have ideas for avoiding the calls to Dir#[], but it wil...
-
03:59 PM Bug #10015: Performance regression in Dir#[]
- It might affect unintentionally.
I'll check the bottleneck. -
03:25 PM Bug #10015: Performance regression in Dir#[]
- @nobu this change causes a significant increase in Rails boot time on my system.
My application pays a 120ms price... -
08:08 AM Bug #10015: Performance regression in Dir#[]
- Yes.
Or use case-sensitive platforms. -
05:06 PM Bug #10019 (Feedback): segmentation fault/buffer overrun in pack.c (encodes)
- `encodes()` fills and flush `buff` gradually by the buffer size.
Could you show the message at the segmentation faul... -
02:40 PM Bug #10019 (Closed): segmentation fault/buffer overrun in pack.c (encodes)
- While working with an AWS sample I hit a segmentation fault. The same sample works under 1.9.3. It appeared to be c...
-
04:19 PM Revision 96815f1e (git): * symbol.c: remove rb_gc_mark_symbols().
- fstrings refered by static symbols and pinned dynamic symbols
are registerd by rb_gc_register_mark_object().
frst... - 03:29 PM Revision 996ff907 (git): * 2014-07-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision 60ee5e03 (git): * common.mk (DTRACE_DEPENDENT_OBJS): fix build failure on Solaris
- introduced in r46768. Object files containing dtrace probes should
be listed in DTRACE_DEPENDENT_OBJS.
git-svn-id... -
03:16 PM Bug #10020 (Closed): TestEnv#test_memory_leak_*, Fiddle::TestPointer#test_no_memory_leak, and Test_StringModifyExpand#test_modify_expand_memory_leak on Solaris
- Solaris 10 にて、以下のように memory leak 検出テストの Failure が出ます。(r46762 で確認)
Solarisデフォルトのlibcのmallocでは、freeしてもOSにメモリを返さないのが原... -
02:51 PM Revision 90173785 (git): random.c: fix casts
- * random.c (fill_random_seed): fix type to cast. this may or may
not suppress warnings by icc.
git-svn-id: svn+ss... -
01:55 PM Feature #10018 (Feedback): Consider adding Sub-Includes as in include Foo::bar
- You can achieve it by "method transplanting".
~~~ruby
class Foo
define_method(:any?, Enumerable.instance_metho... -
11:49 AM Feature #10018: Consider adding Sub-Includes as in include Foo::bar
- Oops sorry!
This is not a bug, it is a feature request.
I am not sure how to move it to features now, sorry. :( -
11:48 AM Feature #10018 (Feedback): Consider adding Sub-Includes as in include Foo::bar
- On IRC someone asked a nice question:
> \<arup_r\> If I write `class Foo; include Enumerable; end` This code inc... -
11:32 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
- r46762 fix this issue
-
11:31 AM Bug #10016: Destructuring block arguments with a Hashable last element
- Elements expanded on the VM stack are overwritten by calling `to_hash` method.
-
08:07 AM Revision 94ce4812 (git): symbol.c, symbol.h: split from parse.y
- * symbol.c, symbol.h: Symbol class implementation and internals,
split from parse.y.
git-svn-id: svn+ssh://ci.ruby... -
07:31 AM Revision d299250a (git): parse.y: adjust argument types
- * parse.y (symbols_i): adjust argument types for st_foreach()
using st_data_t.
git-svn-id: svn+ssh://ci.ruby-lang.... -
07:19 AM Revision 92a04a49 (git): io.c: refine error message
- * io.c (do_io_advise): more precise error message, with arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
07:19 AM Revision 209314c2 (git): test_io.rb: fix assertion
- * test/ruby/test_io.rb (test_advise): fix inverted arguments order
by assert_nil.
git-svn-id: svn+ssh://ci.ruby-la... -
06:16 AM Bug #10014 (Closed): Do not expose no-pinned down IDs
- Applied in changeset r46764.
----------
* parse.y: change Symbol <-> ID relationship to avoid
exposing IDs from co... -
01:46 AM Bug #10014: Do not expose no-pinned down IDs
- パッチ作成と内容説明ありがとうございます。賛成します。
-
06:14 AM Revision 76a929a7 (git): * parse.y: change Symbol <-> ID relationship to avoid
- exposing IDs from collectable symbols.
[Bug #10014]
Now, rb_check_id() returns 0 if corresponding symbol is
pin... -
05:00 AM Revision 37f018fd (git): * parse.y (symbols_i): delete garbage symbols for Symbol.all_symbols.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:31 AM Revision 9db5a7f8 (git): require "rbconfig" to use RbConfig
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- information that I consider important
Kernels BFS and ruby 1.9.2 work fine as if applied taskset.
Other kernels li... -
01:28 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- My application is not web-site is an ERP. So reporting and very heavy tasks are performed. Then the system crashes be...
07/08/2014
-
10:38 PM Feature #8788: use eventfd on newer Linux instead of pipe for timer thread
- Updated patch (from testing for #10009).
Uploading for archival purposes. This version is probably less intrusive... -
10:37 PM Feature #10017 (Closed): Add `Hash#fetch_values`
- I'm proposing to add a new method `Hash#values_at!` that's basically a combination of `#values_at` and `#fetch`.
W... -
09:55 PM Bug #10016 (Closed): Destructuring block arguments with a Hashable last element
- The following code:
~~~ruby
# destructure_bug.rb
def m
x = Object.new
def x.to_hash() {x: 9} end
yiel... - 08:50 PM Revision b10058ae (git): thread_pthread.h: do not expose pthread type for lock
- * thread_pthread.h (struct rb_global_vm_lock_struct):
do not expose pthread type for lock
git-svn-id: svn+ssh://ci... - 08:47 PM Revision 3e14cdc4 (git): thread_pthread.h: remove unneeded semaphore.h include
- * thread_pthread.h: remove unneeded semaphore.h include
We currently do not use POSIX semaphores.
git-svn-id: svn+... -
08:37 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- eventfd doesn't help performance (but still reduces FD count),
I never expected eventfd to improve speed, though.
... -
09:56 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- Eric Wong wrote:
> I'll try resurrecting an old eventfd proposal and maybe also bare futexes
> to see if that impr... -
01:21 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- I'll try resurrecting an old eventfd proposal and maybe also bare futexes
to see if that improves things. -
05:43 PM Bug #10015 (Closed): Performance regression in Dir#[]
- r44802 seems to have introduced a performance regression in Dir#[].
Here is the test program:
~~~ruby
require ... -
03:32 PM Bug #9975: irb で Hash を 1.9 記法で記述したときに、キーがキーワードだと syntax error
- けいじゅ@いしつかです.
[email protected] wrote:
> Issue #9975 has been reported by 三村 益隆.
> irb で Hash を 1.9 記法で記述したと... - 03:19 PM Revision a402e84e (git): * 2014-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Revision 44ab0f8b (git): * lib/irb/ruby-lex.rb: fix counting indent in identify_string_dvar.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 PM Revision aae3bcbc (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 PM Feature #9997: Specifying non volatile registers for increase performence in ppc64
- Hi Nobuyoshi, yes, my mistake. The correct results are the ones I added later.
I'm attaching the results for the "Co... -
11:33 AM Bug #10010 (Open): Error in TestEnv#test_memory_leak_* on Solaris
- r46756 の make test-all にて、同じ Failure がすべての test/ruby/memory_status.rb 関連の場所で出たので再オープンします。
invoke_ruby によって --diabl... -
09:41 AM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- 以下のように test/ruby/test_env.rb を実行すると、なぜか、
uninitialized constant EnvUtil::RbConfig (NameError) になります。
実行に使ったrubyはr46... -
07:58 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
- Applied in changeset r46755.
----------
memory_status.rb: find proper ps
* test/ruby/memory_status.rb (Memory::PSCM... -
10:56 AM Bug #10014 (Closed): Do not expose no-pinned down IDs
- 概要
----
ID と Symbol の関係を整理し、よりバグの少ないコードへと変更する。
現状と問題点
------------
Symbol GC が導入され、Symbol に dynamic symbol... -
08:04 AM Revision 8b427e35 (git): sprintf.c: skip non-interned name
- * sprintf.c (rb_str_format): get rid of accessing by symbol of
invalid ID, when the name is not interned.
git-svn-... -
07:58 AM Revision 286eaeb2 (git): memory_status.rb: find proper ps
- * test/ruby/memory_status.rb (Memory::PSCMD): use ps command which
outputs expected result. [ruby-dev:48370] [Bug ... -
07:01 AM Revision 65accad3 (git): parse.y: expand is_asgn_or_id
- * parse.y (new_op_assign_gen): expand is_asgn_or_id(), which call
id_type() function multiple times now.
git-svn-i... - 05:48 AM Revision 7defa383 (git): * 2014-07-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:48 AM Revision fd7073f7 (git): * parse.y (dsymbol_alloc): set global_symbols.minor_marked to 0.
- * parse.y (dsymbol_check): set RSYMBOL(sym)->fstr to 0
because we should not touch fstr after that.
* parse.y (rb_g...
07/07/2014
-
05:09 PM Bug #10013: [CSV] Yielding all elements from a row
- Do you mean that it should consider the block arity to decide whether to yield a Row or destructure it into column pa...
-
01:05 PM Bug #10013: [CSV] Yielding all elements from a row
- Sorry, this should be in lib category, but I'm not able to change it now.
-
01:03 PM Bug #10013 (Closed): [CSV] Yielding all elements from a row
- Let's say I have the following CSV file:
col1,col2,col3
1,2,3
4,5,6
(...)
I want to iterate over values yieldi... -
02:19 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- > 定数の初期化はロードされてモジュール定義のときですから、まだテストでPATHが変更される前です。
確かにそのとおりでした、すみません。
パッチを当てて、PATH=/usr/ucb:$PATH などとした状態でも Err... -
12:03 AM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- Naohisa Goto wrote:
> TestEnv#test_memory_leak_* では、子プロセス内のコードで ENV.clear を呼んでいて、
> 上記コードもその子プロセス内で呼ばれることになるため、つまり、... -
01:35 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- Is conftest part of debugger gem?
-
08:42 AM Revision a560c208 (git): test/ruby/find_executable.rb
- * test/ruby/test_rubyoptions.rb (test_program_name): use expected
ps command from PATH.
* test/ruby/find_executabl... -
07:30 AM Bug #9908 (Rejected): [mingw] openssl.so LoadError when built with 1.0.0m or 1.0.1h
-
07:11 AM Bug #9908 (Closed): [mingw] openssl.so LoadError when built with 1.0.0m or 1.0.1h
-
07:08 AM Revision b1f4bf8a (git): common.mk: integrate clean targets
- * common.mk (clean-rdoc, clean-capi, clean-platform): integrate
from Makefile.in and win32/Makefile.sub.
* win32/M... -
05:36 AM Revision 8572ed5c (git): * parse.y: remove global_symbols::pinned_dsym
- (and ::pinned_dsym_minor_marked).
Mark pinned dsymbols by rb_gc_register_mark_object() because
they are immortal.... -
04:42 AM Bug #10012 (Closed): Improve Documentation for IO.read
- Duplicates: https://github.com/ruby/ruby/pull/658
- Readability improvements
- English language fixes
- Formatti... -
04:09 AM Bug #8523: intermittent unit test failure in test_timeout.rb results in build failures
- backported into `ruby_2_0_0` at r46748.
- 04:08 AM Revision 79d578eb (git): merge revision(s) 46159,46196: [Backport #8523]
- * test/test_timeout.rb (test_timeout): inverted test condition.
[Bug #8523]
git-svn-id: svn+ssh://ci.ruby... -
03:58 AM Bug #9729: Hash#each が無限ループする
- backported into `ruby_2_0_0` at r46747.
-
03:58 AM Bug #9646: Infinite loop at Hash#each
- backported into `ruby_2_0_0` at r46747.
- 03:58 AM Revision a383ffa0 (git): merge revision(s) 45642,45643: [Backport #9646] [Backport #9729]
- * st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug... -
03:56 AM Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
- backported into `ruby_2_0_0` at r46746.
- 03:55 AM Revision d2d9d6ef (git): merge revision(s) 45344: [Backport #9543]
- * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br... -
03:53 AM Bug #9814: Improving documentation example for Enumerator#peek
- backported into `ruby_2_0_0` at r46745.
- 03:52 AM Revision d29595ce (git): merge revision(s) 46099: [Backport #9814]
- * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
Patch by Erik Hollembeak [Bug #9814]
g... -
03:51 AM Bug #9819: changed documentation for enumerable methods find and detect
- backported into `ruby_2_0_0` at r46744.
- 03:51 AM Revision 73d6945f (git): merge revision(s) 46095: [Backport #9819]
- * enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
Patch submitted via documenting-ruby/... -
03:50 AM Bug #9773: broken link in man/ruby.1
- backported into `ruby_2_0_0` at r46743.
-
03:50 AM Bug #9738: A document fix for Rinda::TupleEntry#renew
- backported into `ruby_2_0_0` at r46742.
- 03:49 AM Revision a30ba8d7 (git): merge revision(s) 45896: [Backport #9773]
- * man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ru... - 03:48 AM Revision c579174a (git): merge revision(s) 45786: [Backport #9738]
- * lib/rinda/tuplespace.rb: fix document. [ruby-core:62003][Bug #9738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br... -
03:47 AM Bug #9684: Use same error messages in struct.c
- backported into `ruby_2_0_0` at r46741.
- 03:47 AM Revision 8d8c4277 (git): merge revision(s) 45462,45463,45466: [Backport #9684]
- * struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus St... -
03:46 AM Revision 2e225e2c (git): * gc.c: revert miss-commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:45 AM Bug #9662: [Doc] Typo in README.EXT
- backported into `ruby_2_0_0` at r46739.
- 03:44 AM Revision ea5adc4c (git): merge revision(s) 45495: [Backport #9662]
- * README.EXT: fix typo.
[ruby-core:61634] [Bug #9662]
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ru... -
03:43 AM Bug #8625: IO#read(len, buf) shortens buf even if data is not read actually
- backported into `ruby_2_0_0` at r46738.
- 03:43 AM Revision ae8a4a43 (git): merge revision(s) 46360,46372: [Backport #8625]
- * io.c (io_setstrbuf, io_read): should not shorten the given buffer until
read succeeds. [ruby-core:55951]... -
03:42 AM Revision 2c551e47 (git): * parse.y: need to use updated (re-created) symbols.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Bug #416: core_set_method_alias
- backported into `ruby_2_0_0` at r46736.
- 03:37 AM Revision 20666f4a (git): merge revision(s) 45399,45400,46036,46037: [Backport #416]
- vm.c: merge code
* vm.c (m_core_hash_from_ary, m_core_hash_merge_ary): merge
duplicated code.
git-svn-id:... -
03:17 AM Bug #9949: Net::FTP#gettextfile truncates last line when missing newline before EOF
- backported into `ruby_2_0_0` at r46735.
- 03:17 AM Revision ea0bf826 (git): merge revision(s) 46457,46458: [Backport #9949]
- * lib/net/ftp.rb (gets, readline): read lines without LF properly.
[ruby-core:63205] [Bug #9949]
*... -
03:13 AM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- backported into `ruby_2_0_0` at r46734.
- 03:13 AM Revision 5ff287ad (git): merge revision(s) 46331: [Backport #9885]
- * lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
type as "MIXED" followed immediately by para... -
03:08 AM Bug #8167: net/imap failing to parse IMAP response containing one BODYSTRUCTURE
- backported into `ruby_2_0_0` at r46733.
- 03:07 AM Revision 9f3a1d75 (git): merge revision(s) 40372: [Backport #8167]
- * lib/net/imap.rb (body_type_msg): should accept
message/delivery-status with extra data.
[ruby-c... -
03:00 AM Bug #9994: replace deprecated macro finite() with isfinite() (fixed at r44505)
- backported into `ruby_2_0_0` at r46732.
- 03:00 AM Revision c8c913c6 (git): merge revision(s) 44505: [Backport #9994]
- numeric.c: isfinite
* numeric.c (flo_is_finite_p): prefer C99 standard isfinite() than
deprecated finite()... -
02:52 AM Bug #9486: Multiple Kernel#local_variables entries with block local parameters
- backported r45845 and r45847 into `ruby_2_0_0` at r46731.
skipping r45846 because it's not the test for this chang... - 02:49 AM Revision e4256538 (git): merge revision(s) 45845,45847: [Backport #9786]
- * parse.y (local_tbl_gen): remove local variables duplicated with
arguments.
[ruby-core:60501] [B... -
02:40 AM Bug #9759: [TracePoint API] return event missing when raising exception
- r45758 is not enough to resolve this problem for ruby_2_0_0.
But I cannot find what is missing.
ko1, do you have an... -
02:10 AM Bug #9912 (Assigned): URI#to_s with an empty host formats the string incorrectly
-
02:07 AM Revision 011b74b7 (git): * tool/mkconfig.rb: remove not to require rbconfig/obsolete.rb.
- * lib/rbconfig/obsolete.rb: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46730 b2dd03c8-39d4-4d8f-98ff... -
01:53 AM Revision a31219c9 (git): * parse.y: do not use rb_gc_resurrect(), but create a new dynamic
- symbol for garbage dynamic symbol.
* common.mk: use gc.h by parse.y.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
07/06/2014
-
11:47 PM Revision 69e9b27a (git): string.c: do not use garbage object
- * string.c (fstr_update_callback): should not access garbage
object contents, copy from the argument instead.
git-... -
06:09 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- TestEnv#test_memory_leak_* では、子プロセス内のコードで ENV.clear を呼んでいて、
上記コードもその子プロセス内で呼ばれることになるため、つまり、
上記コードを通る際には ENV[PATH]は ... -
04:19 PM Bug #10010 (Feedback): Error in TestEnv#test_memory_leak_* on Solaris
- これでどうでしょう。
見つからなかったときにどうするか悩ましいですが。
~~~diff
diff --git a/test/ruby/memory_status.rb b/test/ruby/memory_status.rb... -
12:55 PM Bug #10010: Error in TestEnv#test_memory_leak_* on Solaris
- コードをよく読んだら原因の推測が間違っていたので訂正します。
> なお、Solaris では、/proc/self/status は struct pstatus_t の内容のバイナリを返しますが、それには全く対応していないので... -
10:55 AM Bug #10010 (Closed): Error in TestEnv#test_memory_leak_* on Solaris
- r46550 くらい以降、Solaris 10 にて make test-all 中、以下のエラーが発生します。
(r44686 にて確認)
test/envutil.rb の 438行目にて、:size や :rss 用の情... -
05:20 PM Revision 7ad35210 (git): * string.c (fstr_update_callback): do not use rb_gc_resurrect()
- any more.
Make new frozen string and replace with garbage frozen string.
* common.mk: use gc.h from string.c.
gi... -
03:53 PM Bug #10011 (Closed): Passing a string to Pathname#relative_path_from results in NoMethodError
- When a string is passed to Pathname#relative_path_from, a NoMethodError is raised.
```
irb(main):001:0> require "... -
03:42 PM Revision 2006bfe2 (git): * gc.c: rename is_dying_object() to is_garbage_object().
- * gc.h: rb_objspace_garbage_object_p() as an exported function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
03:22 PM Revision 6a9b242a (git): st.c: fix uninitialized variable
- * st.c (st_update): old_key is uninitialized by jump to the label
unpacked.
git-svn-id: svn+ssh://ci.ruby-lang.org... - 03:13 PM Revision d74fdfb1 (git): * 2014-07-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 PM Revision 783b3c8d (git): st.c: remove equality checks
- * st.c (st_update): remove equality checks, callers should ensure
the equality, otherwise the behavior is undefined... -
02:42 PM Revision ea74da0c (git): st.c: re-calc hash_val before adding
- * st.c (st_update): re-calculate hash_val before adding if key was
changed, otherwise cannot access the newly added... -
02:29 PM Bug #9729: Hash#each が無限ループする
- Backported into `ruby_2_1` branch at r46721.
-
02:29 PM Bug #9646: Infinite loop at Hash#each
- Backported into `ruby_2_1` branch at r46721.
-
02:28 PM Revision 068a7dff (git): merge revision(s) r45642,r45643: [Backport #9646] [Backport #9729]
- * st.c (st_foreach_check): chnage start point of search at check
from top to current. [ruby-dev:48047] [Bug... -
02:19 PM Revision e6be6ebc (git): st.c: update the key too if changed
- * st.c (st_update): fix a bug that the key was not updated even if
it was changed by the callback function.
git-sv... -
01:58 PM Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
- Backported into `ruby_2_1` branch at r46719.
-
01:57 PM Revision 1fe220dc (git): merge revision(s) r45344: [Backport #9543]
- * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br... -
01:28 PM Bug #10009: IO operation is 10x slower in multi-thread environment
- Alexandre Riveira wrote:
I applied tests using Rubinius.
Rubinius uses only 1 processor due to applied taskset, res... -
07:47 AM Bug #10009: IO operation is 10x slower in multi-thread environment
- My environment is Debian 3.2.0-4-amd64
-
07:35 AM Bug #10009 (Assigned): IO operation is 10x slower in multi-thread environment
- I created this issue #9832 but not have io operation.
In the script attached I simulate IO operation in multi-thread... -
12:45 PM Revision 9f051c80 (git): * file.c, ext/pathname/pathname.c: [DOC] correct position of method rdoc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:33 PM Revision 094949cb (git): * gc.c (is_dying_object): fix missed condition.
- * gc.c (is_live_object): move frequent path first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46717 b2dd03c... -
12:02 PM Revision 38943e80 (git): * gc.c: rename is_dead_object() to is_dying_object().
- This function is not opposite against is_live_object()
because is_dying_object() does *not* check object type.
* gc... -
05:31 AM Bug #10008 (Feedback): conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
-
05:31 AM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- Which `conftest`?
Some `conftest`s are expected to segfault.
-
05:16 AM Bug #10008 (Closed): conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- crash dump: https://gist.github.com/jaredbeck/be73c376b860d8d6eed9
```bash
cd ~/.rbenv
git log --oneline | head ... -
05:20 AM Revision ad92b09e (git): split tool/fake.rb
- * tool/fake.rb: split from template/fake.rb.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46715 b2dd03c8-39d... -
04:42 AM Revision a617afc6 (git): * gc.c (rb_gc_register_mark_object): change data structure.
- From single array, to array of arrays. Each array only has 1024
entries.
* vm.c (Init_vm_objects): change default c... -
02:42 AM Revision 92089610 (git): fake.rb.in: override File::ALT_SEPARATOR
- * template/fake.rb.in (File::ALT_SEPARATOR): override
ALT_SEPARATOR if different, not only a backslash.
git-svn-id... -
02:42 AM Revision 24e41046 (git): mkconstants.rb: remove empty comments
- * ext/etc/mkconstants.rb: remove empty comments, defaut_proc isn't
called by accessing nil-assigned elements, and t... -
01:03 AM Revision 09e36e47 (git): rdoc/stats/normal.rb: fix last_width
- * lib/rdoc/stats/normal.rb (print_file): reset @last_width to the
last line size.
git-svn-id: svn+ssh://ci.ruby-la... -
01:00 AM Revision d054cab6 (git): rdoc/stats/normal.rb: IO.console_size
- * lib/rdoc/stats/normal.rb (print_file): use IO.console_size to
follow window resize.
git-svn-id: svn+ssh://ci.rub... -
01:00 AM Revision 25e8f524 (git): rdoc/stats/normal.rb: clear previous output
- * lib/rdoc/stats/normal.rb (print_file): clear previous output
instead of filling the line, not to leave extra spac...
07/05/2014
- 11:38 PM Revision 31cd6420 (git): * 2014-07-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:38 PM Revision dd1f6b7d (git): common.mk: ignore clean-runnable errors
- * common.mk (clean-runnable): get rid of errors running again after
clean-runnable.
git-svn-id: svn+ssh://ci.ruby-... -
03:13 PM Feature #9064: Add support for packages, like in Java
- Hi,
I only have now seen this feature request.
Luckily it came almost at the same time has my feature request... -
08:56 AM Bug #9183 (Closed): IRB::Localeの属性名にtypo
- fixed at r46700
-
07:05 AM Revision c97934b3 (git): common.mk: remove sizes.o
- * common.mk (sizes.o): remove stale target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46706 b2dd03c8-39d4-4d... -
07:02 AM Revision 86689e03 (git): common.mk: empty by distclean
- * common.mk (clean-runnable): remove files made by mkrunnable.
* common.mk (clean-extout): remove archir too.
* com... -
07:02 AM Revision 17368c69 (git): ext/rbconfig/sizeof: distclean
- * ext/rbconfig/sizeof/extconf.rb: clean sizes.c at distclean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4670... -
05:32 AM Revision e8778357 (git): ext/etc: distclean
- * ext/etc/extconf.rb: clean constdefs.h at distclean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46703 b2dd03... -
05:13 AM Revision 5a60ddc5 (git): * class.c: [DOC] mention about prepended modules.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:54 AM Revision 566f1e71 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Also available in: Atom