Activity
From 09/06/2012 to 09/12/2012
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
09/07/2012
-
06:39 PM Feature #6993: Class#allocate の仕様変更(Cレベル)
- Class#allocate の特徴をちょっと追記.
-
06:32 PM Feature #6993 (Closed): Class#allocate の仕様変更(Cレベル)
- =begin
ささだです.
現在,Class#new を呼び出すと,Class#allocate が呼ばれます.Class#allocate は,次のような特徴を持つ,ちょっと特殊なメソッドになっています.
* 普通に定義しても Class#new からは使われない
* 実際に動かす処理 func は rb_define_alloc_func(klass, func) として登録する
* func は ID_ALLOCATOR という特殊なメソッド... -
02:34 PM Revision 9dd9041f (git): * ext/extmk.rb: revert r36468. replacing NUL character is not necessary after
- r36918,
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:36 AM Bug #6990 (Closed): test_s_random_bytes_without_openssl error on Windows x64
- =begin
TestSecureRandom sometimes has an error on ci.rubyinstaller.
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/41/console
3) Error:
test_s_random_bytes_without_openssl(TestSecureRandom):
SystemCallError: unkn... -
01:22 AM Bug #6987 (Closed): have_framework can only be called once in extconf.rb
- This issue was solved with changeset r36918.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: fix splitting options with an argument
* ext/extmk.rb (... -
12:07 AM Feature #6946 (Assigned): FIPS support?
- vo.x (Vit Ondruch) wrote:
> This is my OpenSSL version:
> ...
OK, I see. So at least you are using the same basic OpenSSL library version as I am. I need to investigate if something went wrong while building my FIPS module. Thanks!
09/06/2012
-
06:29 PM Bug #6986: Inconsistent result of BigDecimal#power
- Hello,
In message "[ruby-core:47446] [ruby-trunk - Bug #6986] Inconsistent result of BigDecimal#power"
on Sep.06,2012 14:27:38, <muraken@gmail.com> wrote:
> I cannot reproduce NoMemoryError on my environment.
> However I ... -
06:19 PM Bug #6986: Inconsistent result of BigDecimal#power
- Could you try "p BigDecimal('1e-10').power(1e50)" ?
On Windows, the parameter higher than 1e19 returns Infinity instead of 0.0.
Here is a patch of NoMemoryError on Windows.
diff --git a/bigdecimal.c b/bigdecimal.c.new
index e79... -
02:27 PM Bug #6986: Inconsistent result of BigDecimal#power
- I cannot reproduce NoMemoryError on my environment.
However I think the following behaviors for the large parameters may be inconsistent, so I will attempt to fix these behavior.
Unfortunately I may not be able to fix NoMemoryError b... -
01:53 PM Bug #6986 (Assigned): Inconsistent result of BigDecimal#power
-
01:41 PM Bug #6986 (Closed): Inconsistent result of BigDecimal#power
- I found BigDecimal#power returns incorrect result for a large value.
C:\tmp>ruby -rbigdecimal -e "p BigDecimal('1e-10').power(1e7)"
#<BigDecimal:a2bdb8,'0.1E-99999999',9(100000026)>
C:\tmp>ruby -rbigdecimal -e "p BigDecimal('1e-10... - 04:22 PM Revision aa9789bd (git): * 2012-09-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:21 PM Revision d0d68df7 (git): mkmf.rb: fix splitting options with an argument
- * ext/extmk.rb (extmake), lib/mkmf.rb (have_framework): fix splitting
options with an argument, not using NUL as special character.
[ruby-core:47447] [Bug #6987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36918 b2dd03c8-39d4-... -
02:39 PM Bug #6987 (Closed): have_framework can only be called once in extconf.rb
- =begin
Since r36437 ((|$LDFLAGS|)) will contain a NULL byte if (({have_framework})) is returned successfully.
If extconf.rb attempts to call (({have_framework})) twice to discover multiple frameworks it will now fail:
$ cat test... -
10:48 AM Bug #6985 (Closed): Documentation Examples for Abbrev
- @knu, I've added a patch for Abbrev to provide better examples and documentation.
-
09:33 AM Bug #5024: ruby-mode.el syntax highlighting breaks on regular expression with quotes
- This is kinda-fixed in the Emacs trunk, provided that "method" is one of the names in the list `ruby-syntax-methods-before-regexp`.
Otherwise, the whole regexp literal isn't recognized in the first example. It should be obvious, the str... -
08:58 AM Bug #6799: Digest::*.hexdigest returns an ASCII-8BIT String
- Could we do this for SecureRandom.hex as well? I've attached a patch. /cc akr
-
06:08 AM Bug #6983 (Rejected): URI:HTTP accepts invalid uri
- URI.parse will parse 'http:/foo.com' as a valid HTTP uri, even though it's missing a / between the scheme and authority.
-
05:49 AM Revision 977bec12 (git): .gdbinit: FLONUM support
- * .gdbinit (rp): FLONUM support.
* include/ruby/ruby.h (ruby_special_consts): define FLONUM constants
always, so that they are available from gdb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36917 b2dd03c8-39d4-4d8f-98ff-823fe6... -
05:48 AM Revision 38d0cbce (git): ruby.h: merge FLONUM and non-FLONUM
- * include/ruby/ruby.h (RB_FLOAT_TYPE_P): merge FLONUM and non-FLONUM
versions. inline TYPE() comparison and FLONUM_P() should be
optimized away on non-FLONUM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36916 b2dd03c8-39d4-4... -
03:13 AM Bug #6880: csv: nodoc native classes Object, String and Array
- I think Kernel#CSV should have documentation like #Array, #String, #URI, #Integer, etc., otherwise this is good.
-
12:18 AM Feature #6973: Add an #integral? method to Numeric to test for whole-number values
- =begin
> Floats are precise, just like Integers are. *Operations* on floats are
> ...
Ok, fair point. Ruby already doesn't protect you from a lack of knowledge of floats, so I can accept that this method wouldn't either.
> This c...