Activity
From 09/21/2012 to 09/27/2012
09/27/2012
-
11:34 PM Feature #7067: IO#reopen should accept File::Constants
- Sorry, I made a mistake.
The patch is untabified code.
I have attached tabified one. -
09:42 PM Bug #7076 (Closed): TestUnicodeEscape#test_basic failure on Windows
- =begin
This was originally reported at rubyinstaller-list by Jon.
With chcp 437, TestUnicodeEscape#test_basic fails with invalid byte sequence in UTF-8.
http://pastie.org/4688083
I got the following test failure with chcp 437... -
07:27 PM Bug #6900 (Open): execinfo ライブラリ(およびそのヘッダ)の探索に --with-opt-dir の指定が利かない
- 手元のFreeBSD 9.1-PRERELEASE/amd64環境では、 --with-opt-dir=/usr/local を付けてもLIBRUBY_SOのビルドでこけます。
(...)
linking shared-library libruby.so.20
/usr/bin/ld: cannot find -lexecinfo
DLDFLAGSも手当てが必要と思いますがどうでしょう。 -
06:21 PM Bug #7065 (Closed): Syslog::Logger should have a formatter
- This issue was solved with changeset r37039.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/syslog/lib/syslog/logger.rb: add a formatter to the
Sysl... -
03:05 PM Feature #6242: Ruby should support lists
- even i guess so Ruby is a LISP
http://www.leatherfads.com/leather-jacket.aspx -
01:51 PM Feature #7075 (Rejected): const_get でトップレベルの定数を参照する時に警告
- class C; end
A = 42
C::A # => warning: toplevel constant A referenced by C::A
C.const_get(:A)
のように C::A でトップレベルの(Object直下の)定数を参照する時には警告メッセージが
出力されますが、Module#const_get で参照する時は警告が出力されません。
同じように警告が出たほうがよいと考えますがどうでしょう。
-
09:53 AM Revision 8940e372 (git): * eval.c (rb_overlay_module, rb_mod_refine): accept a module as the
- argument of Module#refine.
* vm_method.c (search_method): if klass is an iclass, lookup the
original module of the iclass in omod in order to allow
refinements of modules.
* test/ruby/test_refinement.rb: add tests for the above cha... - 09:20 AM Revision e0bff650 (git): * ext/syslog/lib/syslog/logger.rb: add a formatter to the
- Syslog::Logger object. [Bug #7065]
* test/syslog/test_syslog_logger.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 AM Bug #7074 (Rejected): OpenSSL::PKey::RSA.new(public_key) fails if public_key doesn't have -----BEGIN PUBLIC KEY-----
- public_key2 is not a valid PEM format (the one in public_key1). It's valid Base64, true, but that's not what OpenSSL expects. It can deal with either DER- or PEM-encoded data. In my eyes, there's nothing wrong here, or did you mean somet...
-
08:24 AM Bug #7074 (Rejected): OpenSSL::PKey::RSA.new(public_key) fails if public_key doesn't have -----BEGIN PUBLIC KEY-----
- =begin
public_key1 = <<KEY
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfW7fNVCLBii/Ky/H97w9BAL6H
ifRM9sJkxo1dqCzvYHLk/89OmYMoDJ2+OgHRaoRpP+CSHiTkxQR1G+UbHLiQpZMo
CbcHAN6nDVET5ulgA8xywOAuIEgsJ5CmhWG79rZGq... - 02:36 AM Revision 015af597 (git): * 2012-09-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:36 AM Revision 454d3935 (git): eval.c: invariant IDs
- * eval.c (rb_mod_include, rb_obj_extend): move invariant IDs to
outside of loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/26/2012
-
10:22 PM Feature #7047: Add new C API: rb_newobj_with
- レビューありがとうございます。
rb_newobj_with(klass, VALUE flags) でパッチを修正しました。
https://github.com/authorNari/ruby/compare/trunk...rb_newobj2
flagsさえ引数にとればenum ruby_value_type相当の情報は取れるはずなので問
題ないのかなと思います。
また名前の候補を考えたり、教えていただいたりしていました。
* r... -
09:18 PM Feature #6972: 特化命令opt_emptyの追加
- ありがとうございました。
-
06:53 PM Feature #6972: 特化命令opt_emptyの追加
- 遅くなってすみません.
コミットしました.
(2012/09/05 22:07), Glass_saga (Masaki Matsushita) wrote:
>
> Issue #6972 has been updated by Glass_saga (Masaki Matsushita).
>
> File patch2.diff added
>
> ささださんからご指摘頂いた点ですが、特化命令の名前をopt_em... -
06:34 PM Feature #6972 (Closed): 特化命令opt_emptyの追加
- This issue was solved with changeset r37036.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def: add new instruction `opt_empty_p' for optimize `em... -
07:40 PM Bug #7065 (Assigned): Syslog::Logger should have a formatter
- Eregon (Benoit Daloze) wrote:
>
> ...
You're correct, I should stop responding to issues after 10pm.
-
06:50 PM Bug #7065: Syslog::Logger should have a formatter
- luislavena (Luis Lavena) wrote:
> How about moving ansi regexp as constant so regexp object doesn't get allocated on every formatter.call?
If I'm not mistaken this is unnecessary, as "static" (without #{...}) Regexps are created only... -
10:42 AM Bug #7065: Syslog::Logger should have a formatter
- How about moving ansi regexp as constant so regexp object doesn't get allocated on every formatter.call?
-
10:38 AM Bug #7065: Syslog::Logger should have a formatter
- I tested this in my application. Works as expected.
-
05:51 PM Feature #6528: Add Pathname#write and Pathname#binwrite
- > IO.read と対応する Pathname#read があるので
> ...
のところ、
> IO.read と対応する Pathname#read があるので
> ...
の誤りでしたので訂正します。
-
05:13 PM Feature #7067: IO#reopen should accept File::Constants
- Seems fine to me.
-
09:34 AM Revision 1bebb22c (git): * insns.def: add new instruction `opt_empty_p' for optimize `empty?'
- method. Apply a patch proposed at [ruby-dev:46120]
[ruby-trunk - Feature #6972] by Glass_saga (Masaki Matsushita).
* compile.c (iseq_specialized_instruction), vm.c, vm_insnhelper.h:
ditto.
* id.c, template/id.h.tmpl: ditto.
* test/r... -
08:09 AM Bug #7070 (Third Party's Issue): sometimes backticks can fail to return data
- Basically, if you have ffmpeg for windows, ex: http://ffmpeg.zeranoe.com/builds
Then run it like this:
enum = `ffmpeg.exe -list_devices true -f dshow -i dummy 2>&1`
"every so often" the value returned is "" (presumably in err... -
07:04 AM Bug #6822: Race Condition with Fiber and Process
- ko1 (Koichi Sasada) wrote:
> Now, I understand your issue. This is not a Fiber problem, but
> ...
Thanks for the advice, I will do that! Thanks for bearing with me ;)
-
04:03 AM Revision 24793ac3 (git): Revert "Darwin 12 (OS X Mountain Lion) also has Bug #6692"
- This reverts commit r37033.
darwin12 seems to use an address started with fe80.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Feature #7068 (Rejected): ability to deactivate Hash#compare_by_identity()
- Hello,
I am using ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux].
There is no way to deactivate a Hash's compare by identity behavior:
h = Hash.new
h.compare_by_identity
h.compare_by_identity? #=> true
h.co... - 01:26 AM Revision 8432fda6 (git): * 2012-09-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:26 AM Revision 6fc41b02 (git): Darwin 12 (OS X Mountain Lion) also has Bug #6692
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/25/2012
-
11:58 PM Feature #7067 (Closed): IO#reopen should accept File::Constants
- Hello,
I think IO#reopen should accept File::Constants because it is difficult to get mode string from File::Constants.
I have attached a patch. -
09:06 PM Feature #6682: Add a method to return an instance attached by a singleton class
- =begin
There is a problem in the original proposal. It is that we can't determine whether a given class is singleton or not by checking an object returned from (({Class#singleton_instance})) in some cases. Consider this exapmle:
# ... -
06:50 PM Bug #7066 (Closed): test_segv_test(TestRubyOptions) が F になる
- 手元の環境で test_segv_test(TestRubyOptions) が、以下のように F になっています
1) Failure:
test_segv_test(TestRubyOptions) [/home/ksmakoto/ruby-working/ruby-trunk/ruby-git/test/ruby/test_rubyoptions.rb:457]:
Expected /\A
-e:(?:1:)?\s\[BUG\]\sSe... -
04:59 PM Feature #7047: Add new C API: rb_newobj_with
- ささだです.
1点気になるのが, rb_newobj_with(VALUE, enum ruby_value_type) が flag 取らなくてもいいんかな,という点でして.いや,NEWOBJ_WITH() だと,問答無用で enum ruby_value_type じゃなくて,flag を渡しているようなんですが.その辺が整理出来ていない気がしています.
rb_newobj_with(klass, enum ruby_value_type type, V... -
04:53 PM Bug #6822: Race Condition with Fiber and Process
- (2012/09/22 15:45), MartinBosslet (Martin Bosslet) wrote:
>> > No. You don't need Mutex at all.
>> > You only need to use variables (such as global variables).
> Now I'm confused. How would I write the example code without gett... -
04:53 PM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- (2012/09/25 16:02), ko1 (Koichi Sasada) wrote:
> Summery: I want to discuss about 1 and 4. Other points should be discuss on other ticket.
Ah, Summer was gone.
--
// SASADA Koichi at atdot dot net -
04:02 PM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- Hi,
Thank you for your interest about this API.
Summery: I want to discuss about 1 and 4. Other points should be discuss on other ticket.
> 1. I think there should be complete parity with caller and backtrace APIs. Any idea?
... -
11:14 AM Bug #6673 (Closed): No longer able to run tests in parallel (-j2)
- This issue was solved with changeset r37032.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_gem_installer.rb: restore ARGV
* test/rubygems/test_gem_ins... -
07:58 AM Bug #6673: No longer able to run tests in parallel (-j2)
- =begin
I was able to reproduce this with mingw ruby.
ruby 2.0.0dev (2012-09-24 trunk 37025) [x64-mingw32]
If test_gem_installer.rb and test_err_in_callback.rb run in same process, this error seems to occur.
$ make test-all TES... -
10:58 AM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
- I would really like this to be added! (Thank you for writing the patch)
-
09:59 AM Bug #7064 (Closed): super from at_exit will segv
- This issue was solved with changeset r37030.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
insns.def: super from at_exit
* insns.def (invokesuper): klass ... -
06:27 AM Bug #7064: super from at_exit will segv
- This did not happen with ruby 2.0.0dev (2012-07-15 trunk 36395) [x86_64-darwin10.8.0].
-
05:42 AM Bug #7064 (Closed): super from at_exit will segv
- Calling super inside at_exit will segv. For example:
$ ruby -e'at_exit { super }'
I'm not sure what super *should* do inside the at_exit block, but it probably shouldn't segv. -
07:14 AM Bug #7065 (Closed): Syslog::Logger should have a formatter
- Hi, Syslog::Logger should have a formatter so that it can behave similar to the regular Logger class. I've attached a patch with tests to implement the formatter.
Thanks! -
03:14 AM Bug #7062: Rdoc for String#=~
- Thank you stomar, I've discussed this with Eric and will be happy to commit it.
-
02:14 AM Revision 2301f983 (git): test_gem_installer.rb: restore ARGV
- * test/rubygems/test_gem_installer.rb
(TestGemInstaller#test_install_creates_binstub_that_dont_trust_encoding):
restore ARGV properly, non-ascii strings in different encodings are
not equal. [ruby-core:45975] [Bug #6673]
git-svn-... -
01:10 AM Revision 26df05b2 (git): test_super.rb: super from BEGIN
- * test/ruby/test_super.rb (TestSuper#test_super_in_BEGIN):
for BEGIN. [ruby-core:47680] [Bug #7064]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:59 AM Revision 1e565489 (git): insns.def: super from at_exit
- * insns.def (invokesuper): klass in cfp is not valid in at_exit and
END blocks. [ruby-core:47680] [Bug #7064]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:30 AM Revision 6249dac0 (git): merge revision(s) 36544: [Backport #7017]
- * win32/mkexports.rb: should not export DllMain().
reported by luis at [ruby-core:46743] [Bug #6790], solved by
Heesob Park, and confirmed by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@370...
09/24/2012
-
11:58 PM Feature #7035 (Closed): defined? should return cached, frozen strings
- Thank you Yui NARUSE, r37026 solved the error.
Closing this now. -
08:47 PM Feature #7035 (Assigned): defined? should return cached, frozen strings
- =begin
Hello Nobu,
I'm seeing this failing on both i386-mingw32 and x86-mingw32:
2) Error:
test_defined_impl_specific(TestDefined):
ArgumentError: wrong number of arguments (1 for 0)
C:/Users/Worker/Jenkins/workspace/... -
05:36 PM Feature #7035 (Closed): defined? should return cached, frozen strings
- This issue was solved with changeset r37025.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Feature #7035
* compile.c (defined_expr), insns.def (defined)... - 11:18 PM Revision 80440ed0 (git): * 2012-09-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:17 PM Revision 2eadff34 (git): * iseq.c (rb_iseq_defined_string): the index of defined_strings must
- be the value of type - 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 PM Revision 418bbce8 (git): use assert_predicate for unary operator
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:30 AM Bug #7045 (Closed): DelegateClass array subtraction
- > I'm not sure that explains it. The first and third tests pass
Sorry, I didn't focus on the other tests. So the reason the first and third test pass is that Hash lookup uses `hash` and `eql?`, except that if the objects are the same ... -
09:53 AM Feature #7055 (Rejected): Allow `.foo=` as a synonym of `self.foo=`
- Closing this suggestion, as this would be a compatibility nightmare.
-
01:23 AM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
- I've thought a bit more about this, and in my opinion, using the "empty dot" to continue the previous line is a waste of notation.
-
09:33 AM Bug #7061 (Closed): Privacy issue: Please change the registration page to indicate 'Login Name' will be visible to all as in a 'User Name'
- > The registration form did not indicate that this would actually be my 'User Name' and visible to all.
Usually login name is not private information.
> ...
done. -
03:13 AM Bug #7061 (Closed): Privacy issue: Please change the registration page to indicate 'Login Name' will be visible to all as in a 'User Name'
- I just registered to report my first bug.
I registered my 'Login Name' as my email.
The registration form did not indicate that this would actually be my 'User Name' and visible to all.
There appears to be no place in 'My Acco... -
08:36 AM Revision 2314b80d (git): Feature #7035
- * compile.c (defined_expr), insns.def (defined): share single frozen
strings. [EXPERIMENTAL] [ruby-core:47558][Feature #7035]
* iseq.c (rb_iseq_defined_string): make expression strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
07:34 AM Revision 0414c9b9 (git): merge revision(s) 36522: [Backport #7016]
- * include/ruby/win32.h (rb_w32_pow): add new function.
We use powl() instead of broken pow() for x64-mingw32. This workaround
fixes test failures related to floating point numeric.
[ruby-core:46686] [Bug #67... -
04:46 AM Bug #7062 (Closed): Rdoc for String#=~
- =begin
This patch clarifies the different behaviour for str =~ regexp and regexp =~ str regarding captured strings and assigning to local variables. (See also issue #7042.)
Added text:
Note: -
04:24 AM Bug #7042: String#=~ is not equal to Regexp#=~
- =begin
...and further down in the Regexp docs:
"This assignment is implemented in the Ruby parser. The parser detects ‘regexp-literal =~ expression’ for the assignment. The regexp must be a literal without interpolation and placed at... -
03:10 AM Feature #7060 (Open): Broaden support for chmod
- Currently file permission bit features in all Ruby versions include only chmod and (if supported by the target platform's C library) lchmod. lchmod is not supported by all platforms, but where it is not the Posix function fchmodat usuall...
-
03:03 AM Bug #7059 (Third Party's Issue): rb_name_err_mesg_new at shut down appears to cause: [BUG] object allocation during garbage collection phase
- On shut down of a long running app, a rb_name_err_mesg_new appears to be causing a "object allocation during garbage collection"
It pops up a Windows 7 crash window which says the error is in msvcrt-ruby.dll
I'm using WxRuby to cre... -
02:23 AM Revision 8ac52a95 (git): * tool/merger.rb: add --ticket option to add ticket number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:39 AM Revision 5841efa3 (git): merge revision(s) 36508: [Backport #7015]
- * test/win32ole/test_win32ole_method.rb (is_ruby64?): Correct platform
used to identify mingw-w64 (x64-mingw32). Patch by Hiroshi Shirosaki.
[ruby-core:46651][Bug #6782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b... -
01:38 AM Revision e518f1dd (git): merge revision(s) 36247: [Backport #7014]
- * lib/test/unit/parallel.rb: workaround fix for rubygems.
RubyGems can't find rake if the source directory is not equal to
the directory which is running the test. [Bug #6604]
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
01:18 AM Revision a7353f69 (git): enum.c: id_call
- * enum.c (enum_find): use id_call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:16 AM Revision 96e4afdb (git): * 2012-09-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:16 AM Revision 8a3856dc (git): enum.c: id_call
- * enum.c (id_call): intern first and share.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/23/2012
-
11:19 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
- ... although I guess there is no real use-case for the continuing dot with a method ending with "=", so it might be possible to distinguish them.
-
11:14 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
- alexeymuranov (Alexey Muranov) wrote:
> [...] it does not just use the previous statement value as the receiver, it in fact continues the previous line, which can also be done by leaving the dot on the previous line.
Yes, indeed, my wor... -
09:42 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
- Thanks, I didn't know about this!
However, this use of a beginning dot does not excite me: it does not just use the previous statement value as the receiver, it in fact continues the previous line, which can also be done by leaving t... -
08:06 PM Feature #7055: Allow `.foo=` as a synonym of `self.foo=`
- It would collide with existing notation:
h = {}
.default = 3
p h # => 3
A dot beginning a line in 1.9 uses the previous statement as a receiver. -
05:25 PM Feature #7055 (Rejected): Allow `.foo=` as a synonym of `self.foo=`
- =begin
I propose to make the use of `self` in method calls optional:
.foo = 'bar'
instead of
self.foo = 'bar'
This only matters of course for assignment methods, to distinguish a method call from creating or setting a lo... -
10:40 PM Bug #7042: String#=~ is not equal to Regexp#=~
- =begin
From the documentation for Regexp:
"When named capture groups are used with a literal regexp on the left-hand side of an expression and the =~ operator, the captured text is also assigned to local variables with corresponding ... -
09:52 PM Bug #7036 (Closed): Compiling extensions with Ruby in a path with spaces
- This issue was solved with changeset r37017.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: unspace
* lib/mkmf.rb (String#unspace): unescape with b... -
03:46 PM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- also, lineno seems a bit of an odd name, should it be line_number?
-
03:43 PM Feature #7051 (Closed): Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- The new caller_locations api allows one to get label, base_label, path, lineno, absolute_path.
I feel this API should be extended some what and cleaned up a bit.
1. I think there should be complete parity with caller and backtrac... -
12:52 PM Revision aed254f3 (git): mkmf.rb: unspace
- * lib/mkmf.rb (String#unspace): unescape with backslashes. normal
makes need to escape spaces with backslashes. nmake is not the
case. [Bug #7036]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37017 b2dd03c8-39d4-4d8f-98ff-82... -
12:48 PM Revision ba3d6005 (git): mkmf.rb: directory timestamp
- * lib/mkmf.rb (create_makefile): use timestamp file dependencies for
directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:46 PM Revision 9f4f1545 (git): mkmf.rb: unexpand macros
- * lib/mkmf.rb: unexpand macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 PM Revision 255e1b05 (git): mkmf.rb: library path quote
- * lib/mkmf.rb (LIBPATHFLAG): no needs to escape library path here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 PM Revision de9093ad (git): mkmf.rb: use internal path
- * lib/mkmf.rb (MakeMakefile#configuration): make prefix paths
internal to deal with in Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:42 PM Revision 87fe2bfd (git): mkmf.rb: fallback mkintpath
- * lib/mkmf.rb (MakeMakefile#mkintpath): not a global function now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:09 AM Bug #7050: encoding of String#unpack for 'H', 'h', 'B' and 'b'
- I would of course also add Aaron's test for SecureRandom hexdigests if this is fine to be merged.
-
05:03 AM Bug #7050 (Closed): encoding of String#unpack for 'H', 'h', 'B' and 'b'
- Originally mentioned in #6799, I think the encoding of the resulting Strings for the 'H', 'h', 'B' and 'b' directives of String#unpack should be encoded in US-ASCII, because they will always contain 0-9a-f (0-1 for 'B','b') chars.
Th... -
02:58 AM Feature #6637: Add HTML5 support to CGI
- =begin
Hi Takeyuki,
have you come to any conclusions?
In case you consider support of all new HTML5 tags,
including <header>, I would be willing to provide
a new set of patches:
- first patch to rename `CGI#header` to `CGI#ht... -
01:12 AM Bug #7045: DelegateClass array subtraction - This seems like a duplicate of http://bugs.ruby-lang.org/issues/6408. Not sure how to close this, but it can be closed.
09/22/2012
-
08:59 PM Feature #5481: Gemifying Ruby standard library
- Thanks for your reply.
> I did the presentation at the last dev meeting and I think I/we need to clarify a part of the proposal for blessing from Matz.
OK. I'll wait for the answer of it.
There is another question. Could you show ... - 05:36 PM Revision ca7ffa34 (git): * 2012-09-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:36 PM Revision 63f6cda8 (git): * complex.c: Fix examples of r36993.
- Keep the simple definition, mathematics define the result.
Based on patch by Robin Dupret. Fixes #188 on github.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 PM Bug #6822: Race Condition with Fiber and Process
- ko1 (Koichi Sasada) wrote:
> No. You don't need Mutex at all.
> ...
Now I'm confused. How would I write the example code without getting the FiberErrors? Since I have no control over when a child process exits, I can't control when... -
02:29 PM Bug #6822: Race Condition with Fiber and Process
- (2012/09/21 22:14), MartinBosslet (Martin Bosslet) wrote:
>
> Issue #6822 has been updated by MartinBosslet (Martin Bosslet).
>
>
> ko1 (Koichi Sasada) wrote:
>> In general, you can sync with variables because Fibers are ... -
02:14 PM Bug #6822: Race Condition with Fiber and Process
- ko1 (Koichi Sasada) wrote:
> In general, you can sync with variables because Fibers are not changed automatically. In other words, you can completely control Fiber transition.
Thanks for looking into this. With your input, I found a... -
07:44 AM Bug #6822 (Closed): Race Condition with Fiber and Process
- In general, you can sync with variables because Fibers are not changed automatically. In other words, you can completely control Fiber transition.
-
02:57 PM Feature #7047 (Closed): Add new C API: rb_newobj_with
- nariです。
現在のCRubyではオブジェクトを割り当てる際に rb_newobj() という関数を利
用していますが、引数にtypeやklassがないため、たとえばT_STRINGだけ違うと
ころに割り当てるなどの特別な処理がやりづらくなっています。
そこで以下のC APIの追加を提案します。
* VALUE rb_newobj_with(VALUE, enum ruby_value_type);
* #define NEWOBJ_WIT... -
01:23 PM Bug #4911: timer_thread_function() が thead unsafe
- (2012/09/21 17:44), kosaki (Motohiro KOSAKI) wrote:
> で、Comment#4のパッチだと残念なことにタイマースレッドとスレッド解放ルートに共通のロックがないため、グローバル変数に代入してもメモリバリア的な意味でthread_free() からは可視にならなさそう
うーん,なるほど.
真面目に mutex で囲いますかねぇ.それ以外の冴えたやり方はないかなぁ.
別に,ここでオーバヘッドになること... -
09:44 AM Bug #4911: timer_thread_function() が thead unsafe
- で、Comment#4のパッチだと残念なことにタイマースレッドとスレッド解放ルートに共通のロックがないため、グローバル変数に代入してもメモリバリア的な意味でthread_free() からは可視にならなさそう
-
09:41 AM Bug #4911: timer_thread_function() が thead unsafe
- > 問題はわかったのですが,
> ...
あ、しまった。放置しすぎていてコンテキストスイッチだけを救うパッチを書いってしまった。本当に問題なのはスイッチ元のスレッドがfreeされていてメモリ破壊に至るケースなのでおっしゃるとおり考慮不足です
-
07:32 AM Bug #4911: timer_thread_function() が thead unsafe
- (2012/09/21 15:10), ko1 (Koichi Sasada) wrote:
> では,どうやって解決するかというと難しいですね.タイマスレッドが動いている間は free しない,とか,そういうのになりそうな感じ.
勘で書いてみたんですが,こんな感じでしょうか.再現が出来なさそうなので,
テストの書きようが無さそう.
Index: vm_core.h
================================... -
07:10 AM Bug #4911: timer_thread_function() が thead unsafe
- 問題はわかったのですが,
これがどうして解決するのかわかりません.
(結局,+ if (!vm->running_thread->yielding) の部分で running_thread を触っているように見える)
解説してもらえないでしょうか.
----
では,どうやって解決するかというと難しいですね.タイマスレッドが動いている間は free しない,とか,そういうのになりそうな感じ.
-
09:40 AM Bug #4559: Proc#== does not match the documented behaviour
- To solve this ticket, I only need to remove Proc#== from proc.c, isn't it?
-
09:23 AM Feature #4328 (Closed): export rb_thread_call_with_gvl()
- Now we have include/ruby/thread.h: void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
-
09:14 AM Bug #4285: Ruby don't have asynchrounous exception safe syntax and It should have.
- I don't follow all of discussion about it, this is solved by [ruby-trunk - Feature #6762]?
-
09:05 AM Feature #4085: Refinements and nested methods
- Any problem now?
-
09:02 AM Feature #3944 (Feedback): Add Fiber#root? method
-
09:00 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- ping.
-
08:54 AM Feature #2674: RubyVM::InstructionSequence to accept IOs
- 前も書いたけど特に意見はないのでてきとうに入れといてもらってもいいでしょうか.
-
07:22 AM Bug #7045: DelegateClass array subtraction - I'm not sure that explains it. The first and third tests pass, and all of them used to pass in 1.8.
-
03:41 AM Bug #7045: DelegateClass array subtraction
- The issue is that most classes' method `eql?` return false unless the object has the same class
require 'delegate'
o = SimpleDelegator.new(42)
o.eql?(o) # => false
# because the eql? is delegated, and
42.eql?(o... -
02:56 AM Bug #7045: DelegateClass array subtraction - The failing test is "test_nested_array_subtraction"
-
02:56 AM Bug #7045 (Closed): DelegateClass array subtraction - When I have an array that contains an array that contains a single instance of a class that inherits from DelegateClass, and I subtract from that array another array containing another array containing the same nested object, Ruby does n...
-
12:26 AM Bug #7044 (Closed): BigDecimal#power randomly raises coercion errors
- When running the following code:
require 'bigdecimal'
10000.times { BigDecimal.new('1001.10')**0.75; putc '.' }
The call to ** will sometimes (not always) raise the following trace:
..................................
09/21/2012
-
11:35 PM Feature #5481: Gemifying Ruby standard library
- Kou, thanks for the cooperation. We would need your help soon.
kou (Kouhei Sutou) wrote:
> NaHi, could you tell us status of this work?
I did the presentation at the last dev meeting and I think I/we need to clarify a part of the ... - 10:15 PM Revision f9ff1505 (git): * 2012-09-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:15 PM Revision e4ac8fa2 (git): * ext/ripper/lib/ripper.rb:
- Match sample output to Ripper.sexp from current trunk version.
[Bug #6929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:12 PM Bug #7043: bug with Require
- hm, i found a difference "./"
ruby ./a/bins/bin.rb
OK
ruby a/bins/bin.rb
/home/kostya/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- a/bins/../env (LoadEr... -
09:51 PM Bug #7043 (Rejected): bug with Require
- ~/projects/a/bins/bin.rb
~/projects/a/env.rb
cat ~/projects/a/bins/bin.rb
require File.join(File.dirname(__FILE__), %w{.. env})
cd ~/projects
ruby a/bins/bin.rb
/home/kostya/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1... -
02:00 PM Bug #7042 (Rejected): String#=~ is not equal to Regexp#=~
- i found out that string =~ regexp is not equal to regexp =~ string
when you use named captures:
"6:15 PM" =~ /(?<hour>\d+):(?<minute>\d+) (?<pm>A|P)M/; p hour,minute,pm # works not
/(?<hour>\d+):(?<minute>\d+) (?<pm>A|P)M/ =~ "6:15 ... -
10:53 AM Revision 01865d5b (git): merge revision(s) 35485: [Backport #7013]
- * ext/dl/cfunc.c (rb_dlcfunc_call): should convert a Bignum value to
unsigned long long on Win64.
[ruby-core:44636][Bug #6364] reported by raylinn@gmail.com (ray linn)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... -
09:45 AM Revision a0a7608b (git): merge revision(s) 33989:["7012"]
- * include/ruby/win32.h: undef stat to silence mingw-w64 stat
redefinition warnings (GCC 4.6.3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:55 AM Revision 9b6f7d38 (git): merge revision(s) 33830: [Backport #7011]
- * configure.in: add -Wall always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:29 AM Feature #7022: add event hook for garbage collection
- I looked into this on JRuby/JVM last night, and found that they have
recently added a nonstandard API for getting GC notifications as they
happen. And they happen *after* the GC has occurred. They're
informational.
Would be neat t... -
12:57 AM Bug #6929: Documentation for Ripper
- nagachika: That is correct. I just tried again on ruby-trunk, there are 6 +nil+s
-
12:45 AM Bug #6929: Documentation for Ripper
- Hello,
In r36992, sample output from Ripper.sexp seems not from current trunk version. doesn't it?
-# [:params, [[:@ident, "world", [1, 10]]], nil, nil, nil, nil]],
+# [:params, [[:@ident, "world", [1, 10]]... - 12:35 AM Revision 523290ac (git): * 2012-09-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:35 AM Revision ecc80b3c (git): mkmf.rb: untabify
- * lib/mkmf.rb: untabify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e