Activity
From 09/08/2012 to 09/14/2012
09/14/2012
-
07:50 PM Bug #7008: rake is crashing when trying to compile ffi gem
- To set the environment variable PKG_CONFIG_PATH when building ruby from source might help.
For example, export PKG_CONFIG_PATH=/usr/local/64/lib/pkgconfig:/usr/lib/64/pkgconfig
See man pkg-config for details.
-
02:43 AM Bug #7008: rake is crashing when trying to compile ffi gem
- I have indeed 0.9.7 in base system and 1.0.0 built from sources, installed in different prefixes. Is there a way of building ruby only with a particular openssl version ?
-
07:35 PM Bug #6799: Digest::*.hexdigest returns an ASCII-8BIT String
- @Aaron: Maybe String#unpack should be fixed instead to return an ASCII string for the 'H', 'h', 'B' and 'b' directives?
It makes sense to me since these will always contain 0-9a-f (0-1 for 'B','b') chars.
This is already done for the '... -
06:01 PM Bug #6174: Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
- Good day, Kosaki-san.
Ok, now callback is wrapped to rb_ensure inside of rb_mutex_sleep_forever and rb_mutex_wait_for.
Also, I replace serialize.wait{ thread.run } to serialize.wait inside of test to be less confusing.
Would you... -
04:48 PM Bug #6174: Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
- > + serialize.wait{ thread.run }
This could be
+ serialize.wait{ }
Test is failing as well, so that, step 4 doesn't matter.
In fact, step 4 runs before step 2 in every run, you could easily check it by putting "puts", so that
... -
03:36 AM Bug #6174 (Rejected): Fix collision of ConditionVariable#wait timeout and #signal (+ other cosmetic changes)
I've reviewed your code. Unofrtunately your testcase is not correct.
+ def test_condvar_wait_timeout
+ serialize = Serializer.new
+
+ mutex = Mutex.new
+ condvar = ConditionVariable.new
+ def condvar.waiters
+ ...-
05:34 PM Bug #4911: timer_thread_function() が thead unsafe
- I've made a patch.
https://github.com/ruby/ruby/pull/182
ko1, could you please review it?
-
05:29 PM Revision bcd7b81e (git): * pack.c: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:29 PM Revision 429c856e (git): * configure.in: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:26 PM Revision 3d42b235 (git): * ext/nkf/nkf-utf8/nkf.c: Merge upstream: 50a383c84.
- [ruby-dev:46128] [Bug #7005]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:15 PM Feature #7022: add event hook for garbage collection
- You can't add an event hook for the start of garbage collection. Ruby is out of space for creating the necessary objects.
I think #2565 is a better solution, even though it happens at a lower level.
Also note that there is API for ... -
03:32 PM Feature #7022 (Closed): add event hook for garbage collection
- It would be useful for profilers to have more insight into garbage collection. Feature request: add event hooks for garbage collect start/stop. For the lazy sweep, start and stop events would also be interesting.
Thanks. -
04:32 PM Feature #3346: __DIR__ revisted
- definitely recommend full path to avoid possible confusion, like we used to have with 1.8.x not using the full path for $: but that's just my opinion...
- 04:07 PM Revision 4649f218 (git): * 2012-09-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:07 PM Revision 1aab4196 (git): * ext/nkf/nkf.c (rb_nkf_convert): suppress warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:30 AM Bug #7021: WEBrick::HTTPUtils.parse_header "normalizing" white space of cookie values.
- I forgot to add this in the description here is the style of cookie that is giving me issues:
Cookie: testcookie=`FOO BAR`8;
There are two spaces between and FOO and BAR and its important that they stay that way. -
10:15 AM Bug #7021 (Closed): WEBrick::HTTPUtils.parse_header "normalizing" white space of cookie values.
- parse_header calls value.gsub!(/\s+/, " ") on ALL header values. I am using a web framework that runs on WEBrick as an HTTP proxy. When the cookies pass through the proxy the whitespace is normalized which is actually breaking the outgoi...
-
09:23 AM Bug #6929: Documentation for Ripper
- As a documentation committer, feel free to commit documentation without making tickets unless you would like to get a review. I think you should commit this change.
-
03:29 AM Bug #6929: Documentation for Ripper
- Hello,
On Thu, Sep 13, 2012 at 2:25 PM, Eregon (Benoit Daloze)
<redmine@ruby-lang.org> wrote:
> I would say go ahead and commit it, as it's just a related and small fix.
> It would be a nice to have drbrain's opinion, but I t... -
03:25 AM Bug #6929: Documentation for Ripper
- zzak (Zachary Scott) wrote:
> Should I setup a new ticket for this?
I would say go ahead and commit it, as it's just a related and small fix.
It would be a nice to have drbrain's opinion, but I think we all agree for this. -
04:08 AM Bug #6872 (Closed): Array does not specify how it determines uniqueness of values
- This issue was solved with changeset r36965.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_diff, rb_ary_uniq):
Enhance documentation f... -
03:32 AM Bug #6908 (Closed): Update Documentation for Select and reject
- This issue was solved with changeset r36964.
Jeff, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_select):
Update documentation for Array#selec... -
03:10 AM Feature #6572 (Closed): Array#index return array of indexes
- Closing this, duplicate of [Bug #6596]
See github pull request for further background: https://github.com/ruby/ruby/pull/128
09/13/2012
-
11:53 PM Bug #6929: Documentation for Ripper
- Should I setup a new ticket for this?
On Thu, Sep 13, 2012 at 10:21 AM, Eregon (Benoit Daloze)
<redmine@ruby-lang.org> wrote:
>
> Issue #6929 has been updated by Eregon (Benoit Daloze).
>
>
> Yes, that sounds good.
> ... -
11:21 PM Bug #6929: Documentation for Ripper
- Yes, that sounds good.
-
10:25 PM Bug #6929: Documentation for Ripper
- =begin
Eregon: Thank you for the feedback! Would you prefer the following instead?
(({# In our case, we're simply returning a String, so next we have the +:string_literal+ expression.}))
Then just leave out the extra semicolon fro... -
07:55 PM Bug #6929: Documentation for Ripper
- zzak: Good work!
Just a little note, when you say:
"# In our case, we're simply returning a String, so next we have the
# +:void_stmt+ followed by a +:string_literal+."
The :void_stmt seems to be due only to the extra ";" in the... -
08:04 AM Bug #6929 (Closed): Documentation for Ripper
- This issue was solved with changeset r36954.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/ripper/lib/ripper.rb: Documentation for Ripper.
* ext/ri... -
10:42 PM Bug #6964 (Closed): Documentation for Shellwords
-
08:25 AM Bug #6964: Documentation for Shellwords
- Resolved by changeset r36956
-
10:01 PM Bug #6990 (Closed): test_s_random_bytes_without_openssl error on Windows x64 - This issue was solved with changeset r36961.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
lib/securerandom.rb: fix errors on Windows
* lib/securerandom... -
09:59 PM Bug #6990: test_s_random_bytes_without_openssl error on Windows x64
- =begin
Language of FormatMessage seems not affected by console code page.
Test using locale:
msg[0, len].force_encoding("locale").tr("\r", '').chomp
"locale" means console code page on Windows ruby.
But changing console code pa... -
01:10 AM Bug #6990: test_s_random_bytes_without_openssl error on Windows x64
- Thank you Usa,
Hiroshi, leaving to you to commit. -
08:08 PM Bug #6033 (Third Party's Issue): Digest issue in 1.9.3
- Thank you for feedback.
So this seems third party's issue. -
07:51 PM Bug #6033: Digest issue in 1.9.3
- I'm experiencing the same issue, Mac OS 10.8.1, RVM, Ruby 1.9.3-p194
Also fixed using @annotunzdy's approach -
07:08 PM Revision 00fb59f1 (git): * array.c (rb_ary_diff, rb_ary_uniq):
- Enhance documentation for array uniqueness
Based on a patch by Robin Dupret
[Bug #6872] [ruby-core:47209]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:32 PM Revision 1ae1b85e (git): * array.c (rb_ary_select):
- Update documentation for Array#select
* enum.c (enum_find_all, enum_reject):
Update documentation for Enumerable#find_all and Enumerable#reject
Based on a patch by Jeff Saracco
[Bug #6908] [ruby-core:47285] [Fixes #166 on github]
... -
04:02 PM Feature #7019 (Rejected): allow `private` and `protected` keywords to take blocks
- I like to indent my private methods one level deeper, but this indentation is inconsistent with the syntax:
~~~ruby
class C
def f
#
end
private
def g
#
end
end
~~~
I think it would be nice if the `pr... - 03:24 PM Revision 7a0d7e74 (git): * 2012-09-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 PM Revision b1228cae (git): * signal.c (rb_f_kill):
- Update documentation for Process.kill to reflect kill(2)
Patch by Richo Healey
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:18 PM Bug #7018 (Rejected): unexpected behavior that constant is overridden and redefined
- module Foo
module Bar
end
end
include Foo
m = Bar
#Bar expected being opened, instead, it is overridden and redefined only in 1.9.2-p320
module Bar
end
puts "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}: #{m == Bar}"
$ r... -
01:01 PM Revision 3207af4c (git): lib/securerandom.rb: fix errors on Windows
- * lib/securerandom.rb (SecureRandom.random_bytes):
Use 64bit value as pointer for Windows x64 to fix SystemCallError.
* lib/securerandom.rb (SecureRandom.lastWin32ErrorMessage):
Set proper encoding to avoid invalid byte sequence err... -
12:30 PM Bug #7008: rake is crashing when trying to compile ffi gem
- > Reading libcrypto.so.0.9.7
> ...
According to the above dbx output, it seems both OpenSSL 0.9.7 and 1.0.0 were loaded.
I think the duplicated loading of different OpenSSL versions would be a cause of SEGV.
-
08:00 AM Bug #7008: rake is crashing when trying to compile ffi gem
- What version of OpenSSL are you using?
-
03:44 AM Bug #7008: rake is crashing when trying to compile ffi gem
- I got more interesting bt with SIGSEGV removed from signal.c:
# dbx -f /usr/local/ruby-1.9.3/bin/ruby core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in yo... -
03:25 AM Bug #7008: rake is crashing when trying to compile ffi gem
- I even got a backtrace. But I have no idea why it's so small and uninteresting:
# dbx -f /usr/local/ruby-1.9.3/bin/ruby core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_... -
11:25 AM Bug #6996 (Closed): Documentation for OptionParser includes an email adress which is not deliverable
- This issue was solved with changeset r36960.
Eike, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/optparse.rb: Remove unreachable email address from document... -
11:22 AM Bug #6909 (Closed): Documentation for XMLRPC
- This issue was solved with changeset r36958.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc.rb: Documentation for XMLRPC
* lib/xmlrpc/datetim... -
07:28 AM Feature #7006: Add Enumerable#grouped_in as a each_slice without the block
- Ah, okay, thank you, didn't notice before :P
-
02:25 AM Revision 92300037 (git): * lib/optparse.rb: Remove unreachable email address from documentation
- [Bug #6996] [ruby-core:47459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 AM Revision fc7a96e2 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:22 AM Revision 1df7862b (git): * lib/xmlrpc.rb: Documentation for XMLRPC
- * lib/xmlrpc/datetime.rb: ditto.
* lib/xmlrpc/parser.rb: ditto.
* lib/xmlrpc/client.rb: ditto.
* lib/xmlrpc/utils.rb: ditto.
* lib/xmlrpc/README.rdoc: ditto.
* lib/xmlrpc/create.rb: ditto.
* lib/xmlrpc/base64.rb: ditto.
* lib/xmlrpc/conf... -
01:22 AM Revision d11ef850 (git): configure.in: no PIE on Haiku
- * configure.in: Don't use PIE on Haiku because loader support is not
enough.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/12/2012
-
11:53 PM Feature #7006: Add Enumerable#grouped_in as a each_slice without the block
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Could someone do that, please?
Already done.
-
08:11 PM Feature #7006: Add Enumerable#grouped_in as a each_slice without the block
- Thanks, I didn't know that. I can't close this issue myself. Could someone do that, please?
-
04:24 AM Feature #7006 (Rejected): Add Enumerable#grouped_in as a each_slice without the block
- Indeed, `to_a` is the answer. Note that `ActiveSupport` has a similar `in_groups_of` that will return the results even when no block is given.
-
03:48 AM Feature #7006: Add Enumerable#grouped_in as a each_slice without the block
- This should work:
a = [1, 2, 3, 4].each_slice(2).to_a
I don't see a reason to create another method to do this. -
03:34 AM Feature #7006 (Rejected): Add Enumerable#grouped_in as a each_slice without the block
- I'd like to transform [1, 2, 3, 4] into [[1, 2], [3, 4]].
Currently I can use something like:
a = []; [1, 2, 3, 4].each_slice(2){|chunk| a << chunk}
But I'd prefer to write just:
a = [1, 2, 3, 4].grouped_in(2)
Or any other... -
11:49 PM Bug #7005: NKF: CP50221 から CP932 に変換できない文字がある
- NKF の問題だったので NKF のフォーラムに投稿しました。
http://sourceforge.jp/forum/forum.php?thread_id=32783&forum_id=1007 -
11:22 PM Revision 5d62cf13 (git): * lib/shellwords.rb: Documentation for Shellwords.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:04 PM Revision 54de5e3f (git): * 2012-09-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:04 PM Revision 8f0d172f (git): * ext/ripper/lib/ripper.rb: Documentation for Ripper.
- * ext/ripper/lib/ripper/lexer.rb: ditto.
* ext/ripper/lib/ripper/sexp.rb: ditto.
* ext/ripper/lib/ripper/filter.rb: ditto.
* ext/ripper/lib/ripper/core.rb: ditto.
[Bug #6929] [ruby-core:47309]
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
10:54 PM Bug #6947 (Closed): Documentation for Pathname
- This issue was solved with changeset r36950.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/pathname/lib/pathname.rb: Documentation for Pathname.
* ... -
07:56 PM Bug #7009: Crash in method_missing
- This is a known issue, hard to fix. Patches are welcomed very much.
-
07:47 PM Bug #7009 (Closed): Crash in method_missing
- =begin
Given the following code:
def method_missing(sym, *args)
foo(sym, *args)
end
bar
When (({bar})) is called, it triggers method_missing (because bar is undefined). Inside method_missing, it calls (({foo})) (another... -
07:23 PM Bug #7008 (Assigned): rake is crashing when trying to compile ffi gem
-
02:26 PM Bug #7008 (Rejected): rake is crashing when trying to compile ffi gem
- # uname -a
SunOS japet 5.10 Generic_142910-17 i86pc i386 i86pc
ruby is built from sources, -m64
# ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [i386-solaris2.10]
When I try to build a ffi gem myself (from it's sources) a... -
02:16 PM Revision 857ec711 (git): pathname.c: suppress -Wcomment warning
- * ext/pathname/pathname.c (path_s_glob): get rid of "/*" within block
comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 PM Revision 6f50057b (git): vm_insnhelper.c: reuse VM stack
- * vm_insnhelper.c (vm_method_missing, vm_call_method): reuse arguments
on the VM stack and get rid of ALLOCA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:54 PM Revision bed6c498 (git): * 2012-09-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 PM Revision b5c38622 (git): * ext/pathname/lib/pathname.rb: Documentation for Pathname.
- * ext/pathname/pathname.c: ditto.
[Bug #6947] [ruby-core:47354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 PM Bug #6990: test_s_random_bytes_without_openssl error on Windows x64
- If you can agree with my opinion, Luis, please correct the patch
and commit it.
Or if you cannot agree by any means, please commit it as it is :)
-
12:36 PM Bug #6990: test_s_random_bytes_without_openssl error on Windows x64
- Most it's okay.
There is a problem in the last chunk.
Rather than filesystem encoding, I think that locale encoding is suitable. -
01:05 AM Bug #6990 (Assigned): test_s_random_bytes_without_openssl error on Windows x64
- I can confirm patch work.
Usa, do you have any objection with path?
Thank you.
-
12:23 AM Bug #6990: test_s_random_bytes_without_openssl error on Windows x64
- =begin
I can confirm that after reaching 1.9GB of RAM usage, it fails with:
"7e7e6cb0"
C:/Users/Worker/Code/ruby-2.0.0-r36949-x64-mingw32/lib/ruby/2.0.0/securerandom.rb:116:in `random_bytes': unknown error -
CryptGenRandom fail... -
04:10 AM Feature #7007 (Closed): Make OpenStruct#new accept OpenStruct object
- Now we have OpenStruct.new(hash) method. But it can be more consistent if one can use it also in form OpenStruct.new(open_struct) which will create a new instance which is a copy of an argument.
09/11/2012
-
11:12 PM Bug #7005: NKF: CP50221 から CP932 に変換できない文字がある
- Ruby 1.8.7 の ext/nkf を 1.9.3 で無理やりコンパイルしてみたところ問題なかったので
NKF のバージョンによるものなのかもしれません。 -
11:05 PM Bug #7005 (Closed): NKF: CP50221 から CP932 に変換できない文字がある
- NKF で CP50221 から CP932 に変換できない文字があります。
CP932 で 0xF040 から 0xF9FC までの文字のうち 589 文字が変換できません。
どうやら CP50221 で1バイト目が 0x80 以上で2バイト目が 0x21-0x3F の文字が変換できないようです。
以下のプログラムは CP932 で 0xF040 から 0xF9FC までの文字を CP50221 に変換して CP932 に戻して、
空文字列になってしまうも... -
12:03 PM Bug #6983 (Assigned): URI:HTTP accepts invalid uri
-
07:59 AM Bug #6994: yield plus splat unwraps too much
- 2012/9/9 headius (Charles Nutter) <headius@headius.com>:
> But this isn't consistent either, since the single-argument form does not spread arrays:
>
> system ~/projects/jruby $ ruby-1.9.3 -e "def foo; yield *[[1]]; end; foo {|... -
05:53 AM Bug #6997: Improve documentation for OptionParser
- Better and more examples are always welcome, if you have any ideas
please feel free to submit a patch.
Otherwise, I'll try to put something together for this and #6996
sometime this week. -
05:02 AM Bug #6997: Improve documentation for OptionParser
- Ok, I was a bit blind on that,
I think that I now do understand how it works.
But anyway, the documentation should be improved.
I'd suggest to improve the examples to make it more clear upfront.
-
02:44 AM Feature #6647: Exceptions raised in threads should be logged
- Any update on this?
- 12:44 AM Revision 4893e6ab (git): * 2012-09-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:44 AM Revision 9445ab2d (git): mkmf.rb: fix $LDFLAGS
- * lib/mkmf.rb (have_framework): insert a space between options.
add just one -ObjC option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/10/2012
-
06:59 PM Feature #7003 (Rejected): Please decide. MVM to be with 2.0?
- Let's make it sure. There'll be *NO* mvm in 2.0, right?
If the feature shall be included, we have almost no time left. We have to work hard to merge it. -
08:21 AM Revision f228a4b2 (git): thread.c: static
- * thread.c (patrol_thread): should be static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:29 AM Feature #4538 (Closed): [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
- This issue was solved with changeset r36944.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/basicsocket.c (rsock_bsock_send):
avoid unnecessar... - 01:41 AM Revision 91987f6b (git): * ext/socket/{basicksocket,init,udpsocket}.c: revert some parts of
- r36944. it breaks mswin/mingw ruby and brought into many many
crashes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:20 AM Revision 7d59a963 (git): * enc/depend: fixed wrong change in a part of r34802.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/09/2012
-
09:32 PM Bug #5258 (Closed): SizedQueueにBug #5195と同様のバグ
- This issue was solved with changeset r36938.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/thread.rb (Queue#pop): Fixed double registration issue wh... -
08:51 PM Bug #5355: Sync_mにBug #5195やBug #5258と同様のバグ
- これも #5195と同じく timeout moduleが予期せぬタイミングでexception投げるケースを考えると ensure節を1つ足しただけではなにも解決してないのですが、悪化することはないので入れます
-
08:34 PM Bug #5355 (Closed): Sync_mにBug #5195やBug #5258と同様のバグ
- This issue was solved with changeset r36936.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe cod... -
08:33 PM Bug #6911: Sync_m#sync_unlock で ThreadError が発生する場合がある
- 余談なんですけど、なんで Mutex.sleep を thread.run で起こせる仕様なんでしたっけ? Thread.stop, Thread.sleep 以外は起こせないほうが普通の感覚かと思うのですが。
とはいえ、スレッドライブラリはTimeout moduleとかでexeptionが突然飛んできても大丈夫なように書いてあるべきなので、この制限をいれてもSync_mを直さないといけないという結論は変わらないのですが
-
08:28 PM Bug #6911 (Closed): Sync_m#sync_unlock で ThreadError が発生する場合がある
- 調査した結果 5355と同じだと分かったのであっちのパッチいれます。ごめんね
-
06:16 PM Bug #6081 (Closed): [PATCH] io.c (do_io_advise): raise exception without segfaulting
- This issue was fixed at 34825. Sorry for the delay!
-
06:10 PM Feature #4570 (Closed): [PATCH v2] io.c (rb_io_close): release GVL if possible
- This issue was solved with changeset r36932.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
... -
05:29 PM Revision 84c77c15 (git): * ext/socket/basicsocket.c (rsock_bsock_send):
- avoid unnecessary select() calls before doing I/O
Patch by Eric Wong. [Feature #4538] [ruby-core:35586]
* ext/socket/init.c (rsock_s_recvfrom): ditto.
* ext/socket/init.c (rsock_s_accept): ditto.
* ext/socket/udpsocket.c (udp_send): di... -
05:11 PM Revision 946f7fc7 (git): * io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
- suppress integer <-> pointer cast warnings.
[Feature #4570] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 PM Revision 4c10b364 (git): * io.c (rb_io_close): notify fd close before releasing gvl.
- * io.c (fptr_finalize): modify fptr->mode before releasing gvl.
remove unnecessary rb_thread_fd_close().
[Feature #4570] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:20 PM Bug #6629 (Closed): [PATCH] io.c: avoid rb_thread_wait_fd() if we may call rb_io_wait_readable()
- This issue was solved with changeset r36931.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_bufread): removed unnecessary rb_thread_wait_fd().
P... -
03:45 PM Bug #6830 (Feedback): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
-
03:27 PM Bug #6278 (Closed): in `join': deadlock detected (fatal)
- This issue was solved with changeset r36926.
Kurt, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (rb_mutex_lock): stop multiple threads use
pthread_c... - 03:17 PM Revision 252334e0 (git): * 2012-09-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 PM Revision aa8dd029 (git): * process.c: exec() requires to be single threaded also on Haiku.
- by Takashi Toyoshima <toyoshim@gmail.com>
https://github.com/ruby/ruby/pull/178
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 PM Bug #7000 (Rejected): Tk::Scrollable の include が成功しない?
- るりまを修正していた際に気付いたのですが、以下の include Scrollable している点はすべてうまく動作しないのではないでしょうか。require に失敗する気がします。
$ grep Scrollable **/*
...
ext/tk/lib/tkextlib/bwidget/spinbox.rb: include Scrollable
ext/tk/lib/tkextlib/bwidget/tree.rb: includ... -
02:01 PM Revision 807c13cc (git): merge revision(s) 35496:
- * ext/zlib/extconf.rb: detect z_crc_t type which will be defined
since zlib-1.2.7.
* ext/zlib/zlib.c (rb_zlib_crc_table): use z_crc_t if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@3693... -
12:32 PM Revision 7198053a (git): * lib/thread.rb (Queue#pop): Fixed double registration issue when
- mutex.sleep is interrupted. [Bug #5258] [ruby-dev:44448]
* lib/thread.rb (SizedQueue#push): ditto.
* test/thread/test_queue.rb (test_sized_queue_and_wakeup,
test_queue_pop_interrupt, test_sized_queue_pop_interrupt,
test_sized_queue_push... -
11:36 AM Revision 61f53050 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:34 AM Revision 2248a8ce (git): * lib/sync.rb (Sync_m#sync_lock): Fixed wakeup/raise unsafe code.
- Patched by Masaki Matsushita. [Bug #5355] [ruby-dev:44521]
* test/thread/test_sync.rb (test_sync_lock_and_wakeup,
test_sync_upgrade_and_wakeup, test_sync_lock_and_raise):
new test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
11:32 AM Revision 5dbbee86 (git): * include/ruby/intern.h (rb_thread_blocking_region): Added
- a comment of recommended alternative way.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:29 AM Revision 14917622 (git): * lib/sync.rb (Sync_m): Removed RCS_ID.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:33 AM Bug #6995 (Assigned): Code converter not found (UTF-8 to EUC-TW)
- =begin
Some transcoders are missing.
$ ruby -e 'u = Encoding::UTF_8' -e 'puts Encoding.list.find_all{|e|e != u and !Encoding::Converter.search_convpath(e, u) rescue true}'
Emacs-Mule
EUC-TW
IBM864
Windows-1258
GB1988
mac... -
01:01 AM Bug #6995 (Rejected): Code converter not found (UTF-8 to EUC-TW)
- Hello, recently I was doing some conversion from Unicode into Chinese encodings, and I came across what may be a bug in Ruby. Attempting to transcode a traditional Chinese character from UTF-8 to EUC-TW results in a "code converter not f...
-
09:24 AM Revision fde6de9f (git): * test/ruby/test_io.rb (test_advise_pipe): new test to check
- io.advise() against anonymous io object don't make crash.
made by Eric Wong. [Bug #6081] [ruby-core:42880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 AM Revision 4b58f39d (git): * io.c (nogvl_close, maygvl_close, nogvl_fclose, maygvl_fclose):
- new functions.
* io.c (fptr_finalize): release GVL if possible.
Patched by Eric Wong. [Feature #4570] [ruby-core:35711]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:20 AM Revision 3df2fc2d (git): * io.c (io_bufread): removed unnecessary rb_thread_wait_fd().
- Patch by Eric Wong. [Bug #6629] [ruby-core:45789]
* io.c (rb_io_sysread): ditto.
* io.c (copy_stream_fallback_body): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 AM Revision 390bbfed (git): merge revision(s) 35687:35691:
- * ext/zlib/extconf.rb: Use an exception instaed of bare puts.
* ext/psych/extconf.rb: Use an exception instaed of bare abort.
* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
* ext/readline/extc... -
06:39 AM Revision 1048cf39 (git): merge revision(s) 35685
- * ext/extmk.rb: Show a message when extconf.rb raised an exception.
* ext/openssl/extconf.rb: Use exception raising instead of message
and/or abort. We want to display error message to console _and_
logging into mkmf.log.
git-svn-... -
06:30 AM Revision c2cb8ea3 (git): merge revision(s) 36926:
- * thread.c (rb_mutex_lock): stop multiple threads use
pthread_cond_timedwait() concurrently. [Bug #6278] [ruby-core:44275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36928 b2dd03c8-39d4-4d8f-98ff-823fe69b... - 06:27 AM Revision 44f9d99e (git): * 2012-09-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:27 AM Revision 10c14095 (git): * thread.c (rb_mutex_lock): stop multiple threads use
- pthread_cond_timedwait() concurrently. [Bug #6278] [ruby-core:44275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:23 AM Bug #6997 (Closed): Improve documentation for OptionParser
- The documentation for OptionParser should be improved.
The current examples and and documentation do not yet describe
how to access non option args
I suggest to change the simple example in the doc as follows:
opts.banner = ... -
04:09 AM Bug #6996 (Closed): Documentation for OptionParser includes an email adress which is not deliverable
- In the Documentation for OptionParser
http://ruby-doc.org/stdlib-1.9.3/libdoc/optparse/rdoc/OptionParser.html
There's an email adress included:
The above examples should be enough to learn how to use this class.
If you have... -
01:06 AM Feature #6163 (Closed): Remove syck YAML extension
-
12:25 AM Bug #6994: yield plus splat unwraps too much
- What you're saying makes some sense if we treat all multiple-argument blocks as having an implicit () around them, since that makes method argument behavior match:
system ~ $ ruby-1.9.3 -e "def foo; yield *[[1]]; end; foo {|a,b| p a}"...
09/08/2012
-
06:52 PM Feature #6993 (Closed): Class#allocate の仕様変更(Cレベル)
- This issue was solved with changeset r36925.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
internal.h: allocator function in rb_classext_t
* internal.h (... -
09:53 AM Bug #6994: yield plus splat unwraps too much
- 2012/9/8 headius (Charles Nutter) <headius@headius.com>:
> Bug #6994: yield plus splat unwraps too much
> https://bugs.ruby-lang.org/issues/6994
> system ~/projects/jruby $ ruby-1.8.7-p358 -e "def foo; yield *[[1]]; end; foo... -
04:10 AM Bug #6994: yield plus splat unwraps too much
- Related JRuby bug: http://jira.codehaus.org/browse/JRUBY-6499
-
04:08 AM Bug #6994 (Rejected): yield plus splat unwraps too much
- I don't see how anyone could argue that 1.9.3 and 2.0.0 are correct here:
system ~/projects/jruby $ ruby-1.8.7-p358 -e "def foo; yield *[1]; end; foo {|a, b, *c| p [a,b,c]}"
[1, nil, []]
system ~/projects/jruby $ ruby-1.8.7-p358 -... -
09:52 AM Revision 5fbfc21b (git): internal.h: allocator function in rb_classext_t
- * internal.h (struct rb_classext_struct): move allocator function into
rb_classext_t from ordinary method table. [ruby-dev:46121]
[Feature #6993]
* object.c (rb_obj_alloc): call allocator function directly.
* vm_method.c (rb_define_... -
09:31 AM Revision ea005c47 (git): .travis.yml: revert.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:18 AM Revision 583ae608 (git): debugging
- * .travis.yml (script): verbose to investigate hang-ups on gcc 4.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:54 AM Revision dffb7106 (git): * 2012-09-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:54 AM Revision 68e47b61 (git): test_gem_specification.rb: skip meaningless tests
- * test/rubygems/test_gem_specification.rb (have_syck): skip tests
which are meaningless if syck is never possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e