Activity
From 02/23/2013 to 03/01/2013
03/01/2013
-
10:45 PM Feature #7986: Custom case statement comparison method
- =begin
@martin Being able to rely on inheritance and case statements I am able to remove hundreds of lines of complex DSL code. For example, old code:
emit Foo, via: foo
def emit_foo(obj)
...
end
The new code:
... -
06:53 PM Feature #7986: Custom case statement comparison method
- On 2013/03/01 17:42, trans (Thomas Sawyer) wrote:
> One does not necessarily have the luxury of putting the classes in order. Consider a case that uses inheritance:
[snip]
> Now add a dozen or so additional classes and th... -
05:42 PM Feature #7986: Custom case statement comparison method
- =begin
One does not necessarily have the luxury of putting the classes in order. Consider a case that uses inheritance:
class Handler
def handle(obj)
case obj
when Foo
"Foo"
end
end
end
class Sub... -
12:56 PM Feature #7986: Custom case statement comparison method
- =begin
Why not use the features of case statements properly? For classes, place the subclass above the superclass. For array inclusion, use splat:
class Foo; end
class Bar < Foo; end
def case_klass obj
case obj
... -
09:56 PM Feature #3944: Add Fiber#root? method
- what is Next Major ? 3.0 ???
The issue was more than 2 years ago, after looking at the code the implementation should not be a challenge and yet nothing.
it is so depressing watching the ruby redmine seriously...
-
09:50 PM Feature #7292: Enumerable#to_h
- +1
This would just feel right and natural to me. -
08:05 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- sbaird (Simon Baird) wrote:
> I don't think the benchmarks are particularly relevant here. We should define Tau because it's important, not for any performance benefit.
Indeed.
Although I am not sure of the importance of having TA... -
09:46 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- I don't think the benchmarks are particularly relevant here. We should define Tau because it's important, not for any performance benefit.
-
09:37 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- david_macmahon (David MacMahon) wrote:
> I vote -1 on this idea because the name "TAU" is used in a number of fields to represent a wide variety of things:
> ...
mhartl addresses this here:
http://tauday.com/tau-manifesto#sec:ambiguo... -
06:34 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- drbrain (Eric Hodel) wrote:
> Martin, you are right. With a corrected benchmark there is an 8.5% +/- 1.2% improvement:
To be more accurate, you'd have to subtract the time of an empty loop. If you compare 42 * pi with 42 *pi; 42 * p... -
06:15 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- +1
-
05:50 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Martin, you are right. With a corrected benchmark there is an 8.5% +/- 1.2% improvement:
~~~
x tau.txt
+ 2pi.txt
+--------------------------------------------------------------------------+
|xx x x ... -
05:46 PM Revision e563e6bf (git): * array.c: typo in comment patch by Nami-Doc [Github fixes #253]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:29 PM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- Here is a patch with the fix the r34669 code.
Sorry, I do not know what you mean by "I cannot determine what user-facing feature r34669 added to FileUtils as define_command was private".
If it helps to clarify, the define_command ... -
11:16 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- There's no reason r34669 cannot be fixed and re-applied at a future date.
I cannot determine what user-facing feature r34669 added to FileUtils as define_command was private, so reverting it seemed to be the safest course of action to... -
11:09 AM Bug #7958 (Closed): include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- This issue was solved with changeset r39544.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/fileutils.rb: Revert r34669 which altered the way
metapr... -
04:37 PM Revision 6751ba4c (git): Suppress warning: uninitialized value
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:36 PM Revision 51a747c5 (git): * 2013-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:36 PM Revision 78dbaa16 (git): * Merge Onigmo 0fe387da2fee089254f6b04990541c731a26757f
- v5.13.3 [Bug#7972] [Bug#7974]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:18 PM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
- The only difference in my CFLAGS is that mine also has "-fno-common".
However, I ran:
ruby -rbenchmark -ve 'puts Benchmark.measure { 50000000.times { Object.new } }'
and was unable to reproduce. However, I can reproduce every single... -
10:05 AM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
- =begin
I also see the same thing Eric does, but with 1.9.3p392:
$ ruby -rbenchmark -ve 'puts Benchmark.measure { 50000000.times { Object.new } }'
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.1]
9.400000 0.100000... -
06:51 AM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
- =begin
I cannot reproduce your result:
$ ruby -rbenchmark -ve 'puts Benchmark.measure { 50000000.times { Object.new } }'
ruby 2.0.0p0 (2013-02-24 revision 39473) [x86_64-darwin12.2.1]
10.600000 0.010000 10.610000 ( 10.612499)
... -
03:21 AM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
- naruse (Yui NARUSE) wrote:
> It is not apple gcc 4.2, which is the one usually used on linux, but llvm-gcc.
> ...
I had "apple-gcc42" installed with brew, but I didn't realize that its executable is suffixed with -4.2. I was able to co... -
12:43 AM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
- jcole1989 (James Coleman) wrote:
> I have the latest command line tools and Xcode 4.6 installed. The gcc error is known, see: https://bugs.ruby-lang.org/issues/7956 -- the solution was that rvm switched to Clang as the default CC for no... -
12:50 PM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
- What make do you have?
I have GNU Make 3.81 and cannot reproduce. -
11:47 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
- It also breaks a test.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20130301T010202Z.log.html.gz
8) Error:
test_install_extension_and_script(TestGemInstaller):
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem nat... -
10:56 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
- =begin
This patch causes the rdiscount extension to fail to install since it reads a local file:
https://github.com/rtomayko/rdiscount/blob/master/ext/extconf.rb#L18
The exception:
Building native extensions. This could take... -
07:27 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
- Committed r39542. Thank you nobu for the RubyGems patch!
-
07:27 AM Bug #7971: bson_ext doesn't install correctly in Ruby 2.0.0-p0
- Thank you nobu for the RubyGems patch!
-
07:25 AM Bug #7971 (Closed): bson_ext doesn't install correctly in Ruby 2.0.0-p0
- This issue was solved with changeset r39542.
Rodrigo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/ext/builder.rb: Fix incompatibilities when ins... -
07:25 AM Bug #7968 (Closed): Poor UDPSocket#send performance in ruby 2.0.0 on windows
- This issue was solved with changeset r39542.
Alan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/ext/builder.rb: Fix incompatibilities when instal... -
04:55 AM Revision 76855753 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 AM Bug #7985: Kidsruby crashes on Ubuntu thin client
- Seems to be a QtGui font bug.
-
02:41 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- I'm not sure I understand the rationale behind rejecting this issue based on locale issues. I'm in support of this ticket, and will try and grab someone who can respond to naruse's concerns.
-
02:10 AM Revision 528e02fc (git): Fixed ticket reference for r39542
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:09 AM Revision 874f8c04 (git): * lib/fileutils.rb: Revert r34669 which altered the way
- metaprogramming in FileUtils occurred. [ruby-trunk - Bug #7958]
* test/fileutils/visibility_tests.rb: Refactored tests of FileUtils
options modules to expose bug found in #7958
* test/fileutils/test_dryrun.rb: ditto.
* test/fileuti... -
02:00 AM Bug #7988: Module#prepend(Module) and instance_method causes Segmentation fault
- I found that this caused by r39224.
-
12:18 AM Revision 6213b837 (git): * lib/psych.rb: specify in rdoc what object is returned in parser
- By Adam Stankiewicz [Github tenderlove/psych#133]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/28/2013
-
11:45 PM Bug #7988 (Closed): Module#prepend(Module) and instance_method causes Segmentation fault
- $ gdb ruby
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute... -
10:51 PM Bug #7987 (Closed): Method#parameters should consider a prepended or refined methd
- In the following example, `Method#parameters` tell the number of argument is one,
but actual methods take two arguments. I got confused..
~~~ruby
RUBY_DESCRIPTION # => "ruby 2.1.0dev (2013-02-28 trunk 39535) [x86_64-linux]"
mo... -
10:25 PM Revision a5dfaca0 (git): * lib/rubygems/ext/builder.rb: Fix incompatibilities when installing
- extensions. Patch by Nobu.
[ruby-trunk - Bug #7968] [ruby-trunk - Bug #7971]
* lib/rubygems/ext/ext_conf_builder.rb: ditto.
* lib/rubygems/installer.rb: ditto.
* test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above.
*... -
10:18 PM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
- I have the latest command line tools and Xcode 4.6 installed. The gcc error is known, see: https://bugs.ruby-lang.org/issues/7956 -- the solution was that rvm switched to Clang as the default CC for now.
But all of that still leaves t... -
01:39 PM Bug #7984: Severe speed issues in 2.0.0 compiled with Clang
- jcole1989 (James Coleman) wrote:
> unfortunately I can't do a direct test on OSX because 2.0.0 currently won't compile under the current apple gcc 4.2
I think it is not apple gcc 4.2 but apple llvm-gcc 4.2.
And did you install lates... -
01:22 PM Bug #7984 (Closed): Severe speed issues in 2.0.0 compiled with Clang
- I've been comparing Ruby 2.0.0 with 1.9.3-head, both compiled with the same basic set of CFLAGs with Clang on Mac OS 10.8 (Mountain Lion). A decent sized rails app was showing performance degradations, so I looked into the most basic of ...
-
10:09 PM Feature #7986 (Feedback): Custom case statement comparison method
- =begin
Case statements use #=== to handle matching, but sometimes this can be limiting. It such cases it would be helpful to be able to specify the comparison method. So I wondered if that could be done by hanging the method off the `ca... -
06:51 PM Feature #7978: boolean to_i
- phluid61 (Matthew Kerwin) wrote:
> That seems to imply that the reverse should hold, but (({!!0 => true})).
Then what about
!!false.to_s # => true ?
There is no reason for fuzzy typecasting to preserve true-ish-ness. -
02:29 PM Feature #7978: boolean to_i - Dne 27.2.2013 15:00, alexeymuranov (Alexey Muranov) napsal(a):
> Issue #7978 has been reported by alexeymuranov (Alexey Muranov).
>
> ----------------------------------------
> Feature #7978: boolean to_i
> https://bugs.ruby-l... -
08:21 AM Feature #7978: boolean to_i
- phluid61 (Matthew Kerwin) wrote:
> funny_falcon (Yura Sokolov) wrote:
> ...
1. I do not think there is a rule that such fuzzy typecasting in Ruby has to be invertible:
"".to_i.to_s # => "0"
2. !!x is not one of Ruby type casting method... -
06:59 AM Feature #7978: boolean to_i
- funny_falcon (Yura Sokolov) wrote:
> Well, yes: ruby is not C and false is not 0. But why false could not be
> ...
That seems to imply that the reverse should hold, but (({!!0 => true})).
Similarly, why should true.to_i return 1, an... -
05:59 AM Feature #7978: boolean to_i
- Well, yes: ruby is not C and false is not 0. But why false could not be
converted to 0 by #to_i ?
27.02.2013 23:07 пользователь "matz (Yukihiro Matsumoto)" <
matz@ruby-lang.org> написал:
>
>
> Issue #7978 has been updated by mat... -
05:10 AM Feature #7978: boolean to_i
- matz (Yukihiro Matsumoto) wrote:
> Ruby is not C. 0 is not false. false is not 0.
In some respects they are similar, and 0 and 1 are often used in relation to logical operations. For example, the characteristic function of a set P is d... -
04:06 AM Feature #7978 (Rejected): boolean to_i
- Ruby is not C. 0 is not false. false is not 0.
nil has its role as a default value, true/false are not.
Matz.
- 06:27 PM Revision 3fc77312 (git): * 2013-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:27 PM Revision 9460a750 (git): * ext/psych/lib/psych.rb: rdoc for Psych overview by Adam Stankiewicz
- [Github tenderlove/psych#134]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 PM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
- Made a branch <https://github.com/ruby/ruby/pull/252>.
-
05:59 PM Bug #7881: Windows でパスに日本語を含むスクリプトからの require が失敗する
- こんにちは、なかむら(う)です。
In message "[ruby-dev:47123] [ruby-trunk - Bug #7881] Windows でパスに日本語を含むスクリプトからの require が失敗する"
on Feb.27,2013 20:38:05, <h.shirosaki@gmail.com> wrote:
> > あれ、これはWindowsでは互換性のためにわざと常にlocaleでexpand_pathされるよう... -
02:33 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- http://en.wikipedia.org/wiki/Law_of_Demeter
The term that I've heard to describe obj.foo.bar.baz is "train wreck". Encouraging such seems to me to be problematic.
I am NOT saying that the transformation/normalization is wrong, jus... -
11:23 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- (13/02/28 6:16), Юрий Соколов wrote:
> =begin
You can't write in RD mode via e-mail.
> May be:
>
> (({obj.foo.bar.baz = .to_i }))
> (({obi.foo[bar.baz] = .to_s(16) }))
>
> While this not consistent with ||= , it ... -
06:23 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- =begin
May be:
(({obj.foo.bar.baz = .to_i }))
(({obi.foo[bar.baz] = .to_s(16) }))
While this not consistent with ||= , it looks readable, imho.
Or combine both variants:
(({obj.foo.bar.baz .= .to_i }))
(({obi.foo[bar.baz]... -
02:06 PM Bug #7985 (Third Party's Issue): Kidsruby crashes on Ubuntu thin client
- I'm running Edubuntu 12.04. Kidsruby (ruby 1.9.2p320) runs fine on the server, but when it is run on a thin client (LTSP), and a simple program is invoked, it crashes. By simple program, I mean something like this:
Turtle.draw do
for... -
02:04 PM Revision 4cf0918e (git): * compile.c (iseq_compile_each): remove redundant trace(line)
- instruction. for example, at the following script
def m()
p:xyzzy
1
2
end
compiler ignores `1' because there is no effect. However,
`trace(line)' instruction remains in bytecode.
This modification removes such redundant t... -
01:29 PM Revision 338ec3ce (git): * ext/socket/raddrinfo.c (inspect_sockaddr): don't show that Unix
- domain socket filename is bigger than sizeof(sun_path).
This limit is not rigid on some platforms such as Darwin and SunOS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:46 PM Bug #7956: Install fail with RVM
- mpapis (Michal Papis) wrote:
> I was using this trick in rvm for some time to avoid the LLVM gcc errors, maybe ruby could adopt it in ./configure => gcc -v | grep -i llvm && export CC=clang
Ruby itself sets CC as clang, so it's not r... -
01:42 AM Bug #7956: Install fail with RVM
- I was using this trick in rvm for some time to avoid the LLVM gcc errors, maybe ruby could adopt it in ./configure => gcc -v | grep -i llvm && export CC=clang
-
01:16 AM Bug #7956 (Closed): Install fail with RVM
- mpapis (Michal Papis) wrote:
> the latest version of `rvm get head` solves this problem by switching to `clang` => `gcc -v | grep -i llvm && export CC=clang` - only on OSX, does not make any troubles on other platforms.
Thanks!
I'... -
01:10 AM Bug #7956: Install fail with RVM
- the latest version of `rvm get head` solves this problem by switching to `clang` => `gcc -v | grep -i llvm && export CC=clang` - only on OSX, does not make any troubles on other platforms.
-
12:35 PM Revision 9a1d5b04 (git): * configure.in(AC_DISABLE_OPTION_CHECKING): avoid warning "WARNING: Unrecognized options: --with-PACKAGE".
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:50 AM Bug #7960: Ruby fails to build static under mswin linker error: multiple definitions of _Init_ext
- I've been trying to resolve this on my own. is dmyext.c even required when linking exts statically? it semes to be just a prototype for extentions which gets redefined in extinit
-
11:26 AM Revision b0690af9 (git): * iseq.c (iseq_data_to_ary): fix condition.
- r34303 introduces a bug to avoid all line information from
a result of ISeq#to_a. This is a regression problem from 2.0.0p0.
* test/ruby/test_iseq.rb: add a test of lines after ISeq#to_a.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
08:40 AM Feature #7981 (Open): ruby does not respect --
- =begin
in ((%ruby --help%)) I have found:
Usage: ruby [switches] [--] [programfile] [arguments]
so I have tried this example:
$ echo 'puts :ok' | ruby -- --params
> ruby: No such file or directory -- --params (Load... -
07:38 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- david_macmahon (David MacMahon) wrote:
> For example, tau is also used as a constant representing the golden ratio (1.618...).
No, not anymore. φ (phi) is used for that now. -
07:10 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- The Processing programming language recently added TAU:
http://code.google.com/p/processing/source/browse/trunk/processing/core/src/processing/core/PConstants.java
It does seem to be showing up more and more frequently. Here's ... -
07:10 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- I just noticed a stupid typo in the patch I submitted. Sorry.
-
02:23 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- I vote -1 on this idea because the name "TAU" is used in a number of fields to represent a wide variety of things:
http://en.wikipedia.org/wiki/Greek_letters_used_in_mathematics,_science,_and_engineering#.CE.A4.CF.84_.28tau.29
... -
01:13 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- duerst (Martin Dürst) wrote:
> Hello Eric,
> ...
Right, I'd say the test doesn't say much... Actually, any difference apparently measured has to be meaningless, there's no intrinsic difference in either cases.
For what it's worth:
... -
04:30 AM Revision 731acc09 (git): win32.c: fix type
- * win32/win32.c (constat_attr): fix type of attributes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:30 AM Revision 8ac0f283 (git): win32.c: suppress warning
- * win32/win32.c (set_env_val): get rid of intger overflow warning by
VC 11.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:18 AM Bug #7979 (Rejected): File.foreach splits on 'r' in windows
- =begin
Calling (({File.foreach('somefile.txt', "r")})) on a windows platform adds newline characters after each lower case (({'r'})), splitting the read lines after each instance.
Reading the following file
This contains r charact...
02/27/2013
-
11:45 PM Feature #7978: boolean to_i
- I agree true/false#to_i would be nice and used it on some occasions.
-
11:02 PM Feature #7978: boolean to_i
- Right now i am creating my own helper method `int_from_bool` to be used in an HTML form :).
Well, probably i will go just for `bool ? 1 : 0` for now. -
11:00 PM Feature #7978 (Rejected): boolean to_i
- =begin
The current behavior is the following:
> nil.to_i
=> 0
> false.to_i
NoMethodError: undefined method `to_i' for false:FalseClass
> true.to_i
NoMethodError: undefined method `to_i' for true:TrueClass
This... -
11:20 PM Revision a6c92a85 (git): * lib/rubygems/available_set.rb: Undent for style
- * lib/rubygems/dependency_installer.rb: Pick latest prerelease gem to
install. Fixes RubyGems bug #468.
* test/rubygems/test_gem_dependency_installer.rb: Test for the above.
* lib/rubygems/dependency_installer.rb: Don't display "D... -
09:14 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Unfortunately, I've lost my topic branch for this issue, so have to rewrite from the previous patch again.
-
08:38 PM Bug #7881: Windows でパスに日本語を含むスクリプトからの require が失敗する
- usa (Usaku NAKAMURA) wrote:
> あれ、これはWindowsでは互換性のためにわざと常にlocaleでexpand_pathされるようにしておいたような記憶があるのですが。
> ...
1.9.3のunixでは常にlocaleになるように修正されていましたが、windowsではbackportするときには、そのまま(2.0.0と同じ)で手は入れられていないのではないでしょうか。
encodingを常にfile system encod... -
07:38 PM Bug #7881: Windows でパスに日本語を含むスクリプトからの require が失敗する
- =begin
あれ、これはWindowsでは互換性のためにわざと常にlocaleでexpand_pathされるようにしておいたような記憶があるのですが。
そろそろこの仕様を変えるのはアリだとは思いますが、1.9.3はちょっと意図的ではないので元の挙動に戻したいです。
2.0.0は... 現状優先なのかなあ。
C:\> type a.rb
# coding: utf-8
unless ''.respond_to?("encoding")
class St... -
07:02 PM Bug #7881: Windows でパスに日本語を含むスクリプトからの require が失敗する
- =begin
Windowsのexpand_pathのencodingのバグのようです。
osxだとcurrent directoryのpathに日本語を含むかどうかでencodingがかわるので、Windowsもそのように修正したいと思います。
$ cat test_expand_path.rb
# coding: sjis
p File.expand_path("./a")
p File.expand_path("./a").encodi... -
08:36 PM Revision 4e040aa6 (git): * thread.c: rdoc formatting for Thread, ThreadGroup, and ThreadError
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:32 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- to_i! needs Object#become.
-
03:48 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- wardrop (Tom Wardrop) wrote:
> =begin
> ...
What about introducing to_i!. This would look more like Ruby.
-
09:07 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- =begin
If there are concerns about using an identifier after ".=", then perhaps a symbol could be used instead:
(({obj.foo.bar.baz .= :to_i}))
That would be somewhat consistant with the alternate block syntax (not sure what it's c... -
08:19 PM Bug #7975: Why __dir__, not __DIR__
- =begin
We did not come to any sort of resolution to the naming inconsistency between __dir__/__method__ and __FILE__/__LINE__ in any of those mentioned issues.
Should we not add __file__ and __line__ as methods, and perhaps deprecate th... -
10:48 AM Bug #7975: Why __dir__, not __DIR__
- That is becuase __dir__ is a method, whereas __FILE__ is not.
$ ruby -ve 'p Kernel.methods'
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.1]
[:sprintf, :format, :Integer, :Float, :String, :Array, :Hash, :warn, :r... -
10:31 AM Bug #7975 (Rejected): Why __dir__, not __DIR__
- see #3346
-
10:22 AM Bug #7975 (Rejected): Why __dir__, not __DIR__
- There's a __FILE__ in Ruby 1.x, no __file__
Why __dir__ in Ruby 2.0 is downcase?
It's not consistent. -
07:03 PM Bug #7819: configure script doesn't recognize valid options
- Wonbyte (Greg Sieranski) wrote:
> So the --with options are correct to use? Even with Ruby-2.0.0-p0?
Yes, it is correct.
Why it shows such warnings is configure itself actually ignores them, but later build process use them. -
06:59 PM Bug #7819: configure script doesn't recognize valid options
- So the --with options are correct to use? Even with Ruby-2.0.0-p0?
-
06:57 PM Bug #7956: Install fail with RVM
- I'm getting a similar failure on OSX Snow Leopard, logs attached.
-
02:53 AM Bug #7956: Install fail with RVM
- Can you try `rvm get head && rvm install 2.0.0`?
As I mentioned on my blog, `rvm get stable` isn't enough apparently to compile 2.0.0 in many cases.
-
01:47 AM Bug #7956: Install fail with RVM
- I'm seeing a similar failure when trying to install Ruby 2.0.0 with RVM. Here's a gist of the RVM install command I'm running and the error output to the make.log
https://gist.github.com/supairish/5039949 -
06:08 PM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
- I've forgot to fix a few tests.
-
05:46 PM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
- It's not good idea to mess up the source directory.
- 05:43 PM Revision 0315ced9 (git): * 2013-02-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:43 PM Revision b8e24f19 (git): * vm.c: Typo in overview for example of Thread#status returning false
- Reported by Lee Jarvis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Hello Eric,
I'm confused by the code below. First, it uses Math::PI with the 'tau'
option, and Math::TAU with the '2pi' option. Second, even when using
Math::TAU, it includes a multiplication by 2.
Regards, Martin.
... -
02:52 PM Feature #4897 (Assigned): Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- The patch is fine.
-
02:25 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- drbrain (Eric Hodel) wrote:
> Despite all the argument for this constant, nobody has provided a patch, so it seems like a joke.
The gist linked in Comment 2 was a diff/patch, althought it's outdated and no longer applies cleanly. I'... -
02:13 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- > Despite all the argument for this constant, nobody has provided a patch, so it seems like a joke.
"Here is a patch on trunk that implements this: http://simonbaird.blogspot.com/2011/06/tau-in-ruby.html"
-
02:08 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Despite all the argument for this constant, nobody has provided a patch, so it seems like a joke.
Runtime performance of a constant lookup is 3% +/- 1.2% faster than multiplying a float by 2 on my machine over 20 million multiplicatio... -
01:41 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Wow, such vitriol ! I could point out a correlation between it and your stance on academia, but I would be flying in the face of not only courtesy but also the whole point of all this. I assure you that tau is not a joke, and has every...
-
09:26 AM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Please, just say no. This garbage is one and only thing that has made me really glad that I decided to leave academia. Having to dissuade every crank from this idea would ruin my mood for weeks.
There a large number of excellent can... -
01:55 PM Revision bf96ea63 (git): * ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS
- and Darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 PM Bug #7805: ruby 2.0rc2 core on solaris
- How about to add a pragma of optimization off?
e.g. #pragma opt 0 (rb_gc_guarded_ptr)
Don't work? -
02:40 AM Bug #7805: ruby 2.0rc2 core on solaris
- ngoto (Naohisa Goto) wrote:
> >--- called from signal handler with signal 11 (SIGSEGV) ---
> ...
Resolves the core with Solaris Studio, thank you.
John
groenveld@acm.org - 12:24 PM Revision 3b6d0934 (git): * lib/rexml/security.rb (REXML::Security): create.
- * lib/rexml/rexml.rb: move entity_expansion_limit and
entity_expansion_text_limit accessors to ...
* lib/rexml/security.rb: ... here.
* lib/rexml/document.rb: use REXML::Security.
* lib/rexml/text.rb: use REXML::Security.
* test/rexml/... -
10:54 AM Revision 20514a08 (git): * vm.c (Thread): fix typos in overview
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:50 AM Bug #7977 (Rejected): rails 4 crashes ruby 2.0 on Solaris
- # env PATH=/opt/apache2/ruby-2.0.0/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/sfw/bin gem install rails --version 4.0.0.beta1 --no-ri --no-rdoc
/opt/apache2/ruby-2.0.0/lib/ruby/2.0.0/rubygems/specif... -
10:38 AM Bug #7973: [doc] net/http URI passed to Net::HTTP::Post.new or Net::HTTP::Get.new errors NoMethodError: undefined method `empty?'
- See the following documentation for 1.9.3: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/net/http/rdoc/Net/HTTP.html
You must pass uri.path or uri.request_uri in 1.9 -
08:06 AM Bug #7973 (Rejected): [doc] net/http URI passed to Net::HTTP::Post.new or Net::HTTP::Get.new errors NoMethodError: undefined method `empty?'
- danblack (Daniel Black) wrote:
> http://www.ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html documents…
> ...
You must use ruby 2.0.0 features on ruby 2.0.0. Please upgrade your ruby. -
05:56 AM Bug #7973: [doc] net/http URI passed to Net::HTTP::Post.new or Net::HTTP::Get.new errors NoMethodError: undefined method `empty?'
- a combined uri.path and uri.query (if exists) is needed
Net::HTTP::Get.new uri.path + '?' + uri.query
I probably should also request that URI has a method to returns path + query as it would make a lot of sense in these examples. -
05:51 AM Bug #7973 (Rejected): [doc] net/http URI passed to Net::HTTP::Post.new or Net::HTTP::Get.new errors NoMethodError: undefined method `empty?'
- http://www.ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html documents a URI object being passed to Net::HTTP::Get.new and Net::HTTP::Post.new a few times.
passing a URI to Net::HTTP::Post.new or Net::HTTP::Get.new throws a... -
10:38 AM Bug #7964: Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
- Martin, what do you mean by: "However, the question is whether the resulting string should always be BINARY (exactly mirroring what happens with real IO)..."?
If StringIO is going to fake aliasing #pos across instances that have been ... -
10:25 AM Bug #7976 (Closed): TracePoint call is at call point, not call site
- Using TracePoint to make a new tracer utility I'm finding it very difficult to actually trace where the origin is for type :call. Instead, I get the destination. This is not the case for :c_call or :b_call as they trace at the origin, no...
-
08:46 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- There are reasons for the changes and they are an improvement to code, reverting just because there is an issue that had to be ironed out is anathema to progress of the language.
-
07:21 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- As FileUtils has no maintainer, I will assign this to myself.
-
07:16 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- @drbrain it looks good to me!
-
07:14 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- It appears that #4970 is the culprit.
I think r34669 should be reverted. Trading one set of metaprogramming for another that requires extra patches seems dangerous.
I don't see how you could extend FileUtils with another module use... -
08:08 AM Revision 7505436d (git): * ruby.c (is_option_with_optarg): macro for optional argument option.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:08 AM Bug #7971 (Assigned): bson_ext doesn't install correctly in Ruby 2.0.0-p0
-
12:06 AM Bug #7971: bson_ext doesn't install correctly in Ruby 2.0.0-p0
- The title should be "bson_ext doesn't install correctly in Ruby 2.0.0-p0" but it seems I'm not allowed to change it myself...
-
07:29 AM Bug #7938: Stack consistency error while compiling 2.0.0-p0
- naruse (Yui NARUSE) wrote:
> Could you show config.log, clang --version, and gcc --version?
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix
i686-apple-darwin11... -
05:24 AM Revision 2e3fc1f0 (git): configure.in: escape double-quotes
- * configure.in (unexpand_shvar): escape double-quotes in backquotes in
double-quotes for some shells. [Bug #7959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:47 AM Revision 46e0ce84 (git): win32.c: suppress warnings
- * win32/win32.c (set_env_val): reuse size of typedef to suppress
unused-local-typedefs warnings from gcc 4.8 and reduce same
calculation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:47 AM Revision e881056f (git): thread_win32.c: suppress warning
- * thread_win32.c (native_sleep): constify local variable to suppress a
false positive might-be-clobbered warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Revision 6c9fdc61 (git): * vm.c (Thread): Typo in overview, swap setting and getting
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:20 AM Feature #7791: Let symbols be garbage collected
- =begin
How about adding a new class between (({Symbol})) and (({String})) instead of garbage collecting symbols? Something like (({StaticString})) with a special literal notation, like
`"There exist only one copy of this string"("utf... -
04:02 AM Revision ab0d28c1 (git): * vm.c (Thread): Documentation overview of Thread class
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:58 AM Revision f7a7138d (git): * thread.c (rb_thread_wakeup): rdoc formatting
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:53 AM Revision e016ec17 (git): thread.c (rb_thread_group): rdoc formatting
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 AM Revision dda10afc (git): * lib/ostruct.rb: Typo in OpenStruct overview [Github Fixes #251]
- Patch by Chun-wei Kuo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:22 AM Revision 4cc2a6b1 (git): * vm_exec.h (END_INSN): llvm-gcc may optimize out reg_cfp and cause
- Stack/cfp consistency error when the instruction doesn't use reg_cfp.
Usually instructions use PUSH() but for example trace doesn't.
This hack cause speed down but you shouldn't use llvm-gcc, use clang.
[Bug #7938]
git-svn-id: svn... -
01:24 AM Revision 7c4084f9 (git): * thread.c (thread_raise_m): rdoc formatting
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:16 AM Revision 530b1308 (git): * 2013-02-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:16 AM Revision 54c9163f (git): configure.in: remove no longer used variable
- * configure.in (unexpand_shvar): remove variable which is no longer
used since r39506. [Bug #7959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/26/2013
-
10:59 PM Bug #7971 (Closed): bson_ext doesn't install correctly in Ruby 2.0.0-p0
- =begin
In 1.9.3 the gem would generate ((%ext/bson_ext/cbson.so%)) but now it generates ((%ext/bson_ext/bson_ext%)) instead. I can't see what's wrong with ((%extconf.rb%)):
dir_config('cbson')
create_makefile('bson_ext/cbson')
... -
09:44 PM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- =begin
It's b/c of Module Inclusion Problem. StreamUtils_ is included into FileUtils and FileUtils is included in FileUtils::Verbose. So one would expect it to work, but b/c the later include is done first, StreamUtils_ only actually mak... -
10:24 AM Bug #7958: include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- This patch fixes it, but I'm unsure how to test it.
It seems this was broken by r34669. -
04:05 AM Bug #7958 (Closed): include FileUtils::Verbose gives NoMethodError when installing files with a different mode
- =begin
Seems like (({fu_stream_blksize})) isn't included when (({FileUtils::Verbose})) is. Changing to plain FileUtils works, though.
$ cat test.rb
require 'fileutils'
require 'tmpdir'
include FileUtils::Verbose
... -
09:34 PM Bug #7969 (Rejected): Integer binary_op Float operations doesn't use coercion
- Intended behavior.
coerce method is called if the peer is unknown to the receiver. -
09:04 PM Bug #7969 (Rejected): Integer binary_op Float operations doesn't use coercion
- I'm trying to override #coerce method on Float. But I found that redefining Float#coerce makes no changes in behavior of code: 1 + 2.0
class Float
def coerce(other)
[2, 2]
end
end
puts 1+2.0 # ==> 3.0 while result should be... -
09:30 PM Bug #7967 (Rejected): String#encode invalid: :replace doesn't replace invalid chars
- String#encode does nothing when source and destination encodings are same.
-
08:47 PM Bug #7967 (Rejected): String#encode invalid: :replace doesn't replace invalid chars
- =begin
1.9.3p385 :001 > "\xc3\x28".encode('UTF-8', 'UTF-8', invalid: :replace) =~ /\s/
=> nil
2.0.0-p0 :001 > "\xc3\x28".encode!('UTF-8', 'UTF-8', invalid: :replace) =~ /\s/
ArgumentError: invalid byte sequence in UTF-8
from (ir... -
08:55 PM Bug #7968 (Assigned): Poor UDPSocket#send performance in ruby 2.0.0 on windows
- I have noticed that the performance of UDPSocket#send on ruby 2.0.0 on windows is much poorer than that of 1.9.3 or 1.8.7. Running the attahced script on 2.0.0 gives the following...
d:\scripts>bash -c "ruby --version"
ruby 2.0.0p0 ... -
07:37 PM Bug #7964: Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
The examples are not equal.
Correct comparison is
StringIO.open a, "w" do |io|
io.write(b)
end
File.open "data.txt", "w" do |io|
io.write b
end
So it won't raise error even if StringIO supports external/interna...-
06:18 PM Bug #7964: Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
- nobu (Nobuyoshi Nakada) wrote:
> Currently, StringIO does not support encoding conversion on write, so `io.write(b)' does not raise any exceptions.
Should StringIO support encoding conversion? I think it should, because it should wor... -
04:56 PM Bug #7964 (Assigned): Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
- Currently, StringIO does not support encoding conversion on write, so `io.write(b)' does not raise any exceptions.
-
04:32 PM Bug #7964 (Assigned): Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
- =begin
In the following script, an ASCII-8BIT String is written to a StringIO created with a UTF-8 String without error. However, a << b or a + b will raise an exception, as will writing an ASCII-8BIT String to a File with UTF-8 externa... -
07:23 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- On 26 February 2013 19:20, nobu (Nobuyoshi Nakada) <nobu@ruby-lang.org>wrote:
>
> Why is it called as τ, half of π?
>
It's actually two of π. The reason for the name is justified here:
http://tauday.com/tau-manifesto#sec:one_tu... -
07:12 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- nobu (Nobuyoshi Nakada) wrote:
> Why is it called as τ, half of π?
It's actually two of π. The reason for the name is justified here: http://tauday.com/tau-manifesto#sec:one_turn
In summary: tau is the first letter of the Greek w... -
06:20 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Why is it called as τ, half of π?
-
06:47 PM Feature #7701: Non-optional (required) keyword args
- It would be a method which has a required keyword argument and returns 1always.
Yes, it'll cause an incompatibility, but we have no real code with keyword argument yet. -
09:53 AM Feature #7701: Non-optional (required) keyword args
- (2013/01/16 8:57), headius (Charles Nutter) wrote:
> def foo(a:, b:)
> ...
> end
One (trivial) question:
Now,
def foo x, a:
1
end
is parsed as:
def foo x, a: 1
end
What happen a... -
04:02 AM Feature #7701 (Assigned): Non-optional (required) keyword args
- Accepted.
Matz.
-
01:09 AM Feature #7701: Non-optional (required) keyword args
- +1 Seems great (the feature, not the escaping!)
-
06:35 PM Bug #7965: Segmentation fault when running OpenSSL tests - See attached
-
05:48 PM Bug #7965: Segmentation fault when running OpenSSL tests
- >-- Crash Report log information --------------------------------------------
> ...
We need crash report when investigating crash isssue. -
05:10 PM Bug #7965 (Closed): Segmentation fault when running OpenSSL tests - =begin
Similar to the last problem I reported.
I'm compiling ext/openssl against a freshly compiled version of openssl-1.0.1c.
Running the openssl tests results the following segfault:
~/.rubies/.sources/ruby-2.0.0-p0/test/... -
03:22 PM Revision 77f603cb (git): merge revision(s) 39179,39245: [Backport #7826]
- the process maybe already finished
* test/ruby/test_process.rb (test_setsid): Added a workaround for
MacOS X. Patch by nagachika. [Bug #7826] [ruby-core:52126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby... -
02:48 PM Revision 8fa5da9a (git): merge revision(s) 39169:
- release manager finally decided to revert it.
* eval.c (rb_ensure): preserve errinfo across ensure proc before
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:35 PM Revision 790bfbf5 (git): Fix typos... Sorry...
- entity_expansion_limit ->
entity_expansion_text_limit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:34 PM Revision b9728789 (git): * lib/rexml/document.rb: move entity_expansion_limit accessor to ...
- * lib/rexml/rexml.rb: ... here for consistency.
* lib/rexml/document.rb (REXML::Document.entity_expansion_limit):
deprecated.
* lib/rexml/document.rb (REXML::Document.entity_expansion_limit=):
deprecated.
git-svn-id: svn+ssh://ci.r... - 02:30 PM Revision ea2e083a (git): * lib/rexml/document.rb: move entity_expansion_limit accessor to ...
- * lib/rexml/rexml.rb: ... here to make rexml/text independent from
REXML::Document. It causes circular require.
* lib/rexml/document.rb (REXML::Document.entity_expansion_limit):
deprecated.
* lib/rexml/document.rb (REXML::Document.en... -
12:23 PM Bug #7957: rb_str_modify() does not prevent shared string from rb_str_set_len()
- This is definitely not a ruby bug, fixed in unicorn v4.6.2
(commit f7ee06592d7709e96f64efb5e7a9485b54415c9d) -
12:20 PM Bug #7957 (Third Party's Issue): rb_str_modify() does not prevent shared string from rb_str_set_len()
-
11:49 AM Bug #7957: rb_str_modify() does not prevent shared string from rb_str_set_len()
- sorry for the noise. It turns out unicorn has a build system bug.
-
10:53 AM Bug #7957: rb_str_modify() does not prevent shared string from rb_str_set_len()
- I will try to make a standalone test case which does not depend on
the Ragel parser. -
11:30 AM Feature #6817: Partial application
- This ticket is related to [ruby-core:52797] [ruby-trunk - Feature #7939]?
(definitely no?)
Basically, I like this proposal.
But I'm not sure this notation can be acceptable.
FYI: Scheme has similar, but more flexible proposal:
... -
11:27 AM Feature #5512 (Assigned): Integer#/ の改訂
- ko1 (Koichi Sasada) wrote:
> 宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
> ...
そういえば、mrubyでは1 / 2が0.5 (Float)になる(ので規格に準拠していない)ようなのですが、
将来CRubyで仕様変更するための布石でしょうか。
後方互換性については、
using OldIntegerDivision
としたらInteger#/が現在の挙動に戻るといった対応は考えられ... -
09:46 AM Feature #5512: Integer#/ の改訂
- 宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
-
11:18 AM Feature #5482: Rubinius as basis for Ruby 2.0
- Some spies may be here.
-
09:44 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
- 宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
(ふなばさんか、mrkn のほうが良かった?) -
09:44 AM Feature #5514: Numeric への quotient と quotrem の追加
- 宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
-
09:44 AM Feature #5522: Numeric#finite?、Numeric#infinite?、Numeric#nan? の追加
- 宙ぶらりんになっているようなので、まつもとさんにアサインしておきます。
ご検討下さい。
-
09:32 AM Bug #7960 (Assigned): Ruby fails to build static under mswin linker error: multiple definitions of _Init_ext
-
05:51 AM Bug #7960 (Closed): Ruby fails to build static under mswin linker error: multiple definitions of _Init_ext
- after the depend errors were fixed I obtained r39490 and attempted to build it
after nearly completing it failed with
ruby200.dll : fatal error LNK1169: one or more multiply defined symbols found
searching through the output fo... -
08:35 AM Feature #5480: remove GServer from stdlib
- I've forget this issue.
I assigned it to Nahi-san. -
07:39 AM Feature #5825: Sweet instance var assignment in the object initializer
- I think this is a good feature, so I'd like to support this (and possibly, provide a patch for this)
Reading from all the comments, I saw that someone has some concern about having this feature on another method definition (not just i... -
07:23 AM Feature #7918: Create Signal.in_trap?()
- >> I'm not sure why it is useful. If a lock is needed, then the lock should
>> be acquired in trap handler (and not supported yet). Detecting it is in
>> trap, and do what?
>
> How about allowing Mutex#lock to be recursive if (a... -
07:23 AM Feature #7918: Create Signal.in_trap?()
- On Sun, Feb 24, 2013 at 1:15 PM, SASADA Koichi <ko1@atdot.net> wrote:
> (2013/02/23 11:31), kosaki (Motohiro KOSAKI) wrote:
>> Currently, ruby library have no way to detect a method is called from trap handler or not.
>> This is u... -
07:23 AM Feature #7918: Create Signal.in_trap?()
- > I'd like to clarify the specification. Should the following code show true? or false?
>
> Signal.trap(:USR1) do
> Process.kill(:USR2, $$)
> end
> Signal.trap(:USR2) do
> p Process.in_trap?(:USR2) # => true
> p Pr... -
06:39 AM Revision 684ce840 (git): * ChangeLog: fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:12 AM Revision b3d2b56d (git): mkconfig.rb: reconstruct comma separated list values
- * tool/mkconfig.rb: reconstruct comma separated list values. a
command line to Windows batch file is splitted not only by spaces
and equals sign but also by commas and semicolons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
06:04 AM Revision a4ccd46d (git): configure.in: non-portable shell behavior
- * configure.in (unexpand_shvar): get rid of non-portable shell
behavior on OpenBSD, so no extra quotes. [Bug #7959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:12 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- I'm not sure how convincing the linked conversation is. It seems to be about case sensitivity issues in varying locales particularly around identifiers, but whether a unicode space is a whitespace or not is not locale dependent as far a...
-
03:45 AM Bug #7951: Cannot rescue SignalException in 1.9.3 or 2.0.0
- I changed a doc because the example has a mistake of usage of Process.kill(). Process.kill() doesn't have any guarantee when signal will be delivered.
-
03:43 AM Bug #7951 (Closed): Cannot rescue SignalException in 1.9.3 or 2.0.0
- This issue was solved with changeset r39501.
James, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c: clarify a document of SignalException. Process.kill()... -
03:38 AM Bug #7951: Cannot rescue SignalException in 1.9.3 or 2.0.0
- Following modified script works fine. That is a issue of YARV signal handling.
puts "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
begin
Process.kill('HUP',Process.pid)
sleep 0.1
rescue SignalException => e
puts "received Exception #... -
01:31 AM Revision 6f8feb22 (git): test_keyword.rb: suppress warning
- * test/ruby/test_keyword.rb (TestKeywordArguments#m1): suppress
argument prefix warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 AM Revision c07d78eb (git): parse.y: keyword argument without paren
- * parse.y (IS_LABEL_POSSIBLE): allow labels for keyword arguments just
after method definition without a parenthesis. [ruby-core:52820]
[Bug #7942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39504 b2dd03c8-39d4-4d8f-98ff-82... - 12:57 AM Revision ac24e257 (git): * st.c (st_add_direct): int is not always same with st_index_t. some
- version of clang reports error.
* thread.c (vm_living_thread_num): ditto.
reported by d6rkaiz (Isao Sugimoto) at [ruby-dev:47096]
[Backport #7946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39503 b2dd03c8-39d4... -
12:05 AM Bug #7698 (Assigned): RubyGems 2.0 has an incompatibility about installation of extension libraries
- Hello,
This issue seems not to be fixed completely.
"gem install rbtree" still hit this issue.
It reproduces on both trunk and 2.0.0-p0.
$ gem install rbtree
Building native extensions. This could take a while...
ERROR: Err...
02/25/2013
-
10:34 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- https://github.com/search?q=%22TAU+%3D+2+%2A+Math.PI%22&type=Code
https://github.com/search?q=%22TAU+%3D+PI+*+2%22&type=Code -
09:54 PM Bug #7957 (Third Party's Issue): rb_str_modify() does not prevent shared string from rb_str_set_len()
- unicorn HTTP chunk parser may raise "can't set length of shared string (RuntimeError)" in rb_str_set_len().
However, it does call rb_str_modify() before calling rb_str_set_len().
To reproduce:
git clone git://bogomips.org/unicorn
c... -
09:31 PM Bug #7956 (Third Party's Issue): Install fail with RVM
- $ uname -a
Linux my-debian.ru 2.6.32-5-686 #1 SMP Fri Feb 15 15:48:27 UTC 2013 i686 GNU/Linux
$ $ \curl -L https://get.rvm.io | bash -s stable --ruby
...
Error running 'make', please read /home/ruby2/.rvm/log/ruby-2.0.0-p0/make... -
08:46 PM Bug #7955 (Closed): OpenSSL related crash on `bundle` - Nevermind, fixed by uninstalling OpenSSL and reinstalling...
-
08:28 PM Bug #7955 (Closed): OpenSSL related crash on `bundle` - =begin
ruby-2.0.0-p0 crashes when I try to run 'bundle'. Looks OpenSSL related.
Running OpenSSL 1.0.1e.
ruby-2.0.0-p0 λ bundle
Fetching gem metadata from https://rubygems.org/..ruby(17400,0x7fff7218c960) malloc: *** mmap(... -
07:52 PM Revision 47809f09 (git): * error.c: clarify reason for sleep in SignalException example
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:43 PM Revision ffbd120e (git): * error.c: clarify a document of SignalException. Process.kill()
- doesn't have any guarantee when signal will be delivered.
[Bug #7951] [ruby-core:52864]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:54 PM Revision 1b7cb091 (git): * 2013-02-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 PM Revision e05392ea (git): * ext/Setup.nt: this file has not been used by default.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 PM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
- OK, 3.12.2 is released.
-
07:30 AM Bug #7944 (Closed): 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
- Hello Eric,
Yes, branch 3.12 works perfectly!
Would you release 3.12.2 or 3.13?
Version 4.0 is too incompatible for our CHM generator.
Thank you. -
04:31 AM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
- Can you verify rdoc 3.12 branch (or 3 branch, they are the same) works with rdoc_chm and %i before I release?
My simple check seems to work fine. -
01:35 AM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
- drbrain (Eric Hodel) wrote:
> Could you use an RDoc 3.x with %i support, or must you use an RDoc that comes with ruby?
> ...
I can use any version of RDoc to build the documentation, as long it can be installed in Ruby 1.9.3
> I can... -
01:21 AM Bug #7944: 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
- Could you use an RDoc 3.x with %i support, or must you use an RDoc that comes with ruby?
I can release RDoc 3.13 with %i support if that would be sufficient. -
03:11 PM Bug #7881 (Assigned): Windows でパスに日本語を含むスクリプトからの require が失敗する
- なんとなく、いつぞやのWindowsのrequire高速化関連のような気もするのですが、
しろさきさん何かわかったりしますか?
# その前の奴かなあ? -
02:59 PM Revision b85978b1 (git): * test/ruby/test_fnmatch.rb: use assert_file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:59 PM Revision 9d679893 (git): envutil.rb: rename member
- * test/ruby/envutil.rb (Test::Unit::Assertions::AssertFile): rename
member to get rid of conflict with a method of Assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:51 PM Revision c75f360b (git): version.h: bump RUBY_API_VERSION
- * include/ruby/version.h: bump RUBY_API_VERSION same as RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 PM Revision 2d3808ee (git): * string.c (str_byte_substr): don't set coderange if it's not known.
- [Bug #7954] [ruby-dev:47108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:15 PM Bug #7279: Zlib load error on HP-UX
- Hi Nobuyoshi,
Yes the patch works.
For people viewing this in the archives, it's worth knowing that patch and diff are different on HP-UX. To apply this patch -
cp -p lib/mkmf.rb lib/mkmf.rb.orig
cat <<'EOF' >mkmf.hpux... -
10:55 AM Bug #7951 (Closed): Cannot rescue SignalException in 1.9.3 or 2.0.0
- When running the example provided on http://www.ruby-doc.org/core-1.9.3/SignalException.html we find that neither Ruby 1.9.3p392 nor Ruby 2.0.0p0 are able to rescue SignalException:
```
$ cat <<EOF >signal_exception_test.rb
puts "#{... -
10:31 AM Feature #7939: Alternative curry function creation
- phluid61 (Matthew Kerwin) wrote:
> As a philosophical question, would a name like #curry_with or #apply be more appropriate? There is a small amount of utility added by such a method: at first glance I didn't see the .curry on the end... -
09:17 AM Feature #7939: Alternative curry function creation
- marcandre (Marc-Andre Lafortune) wrote:
> It's pretty clear Nobu's example is more concise and nicer than what `assuming` would provide. BTW, the `.curry(3)` part can simply be `.curry`.
As a philosophical question, would a name like... -
06:41 AM Feature #7939: Alternative curry function creation
- From http://bugs.ruby-lang.org/projects/ruby/wiki/HowToRequestFeatures, I believe this FR fails point (1) "Ensure it's a meaningful improvement" and (2) "what's a good name".
It's pretty clear Nobu's example is more concise and nicer ... -
10:26 AM Feature #7400: Incorporate OpenSSL tests from JRuby.
- I'm sorry I couldn't make this happen in time for 2.0.0. I will try to sync with the JRuby devs to unify the tests for 2.1.0.
-
10:16 AM Bug #6928: SecureRandom.random_bytes: assume zero entropy for seed value
- mame (Yusuke Endoh) wrote:
> I assume that if this is so significant issue, Martin would have reported this to security@ruby-lang.org.
> ...
Sorry for not responding in time. It is safe to move this to next minor - right now, the risk ... -
09:56 AM Bug #7949: Gem::Ext::Builder removes dependency to directory creation task
- It should be fixed already.
Or it's not been backported? -
07:13 AM Bug #7949: Gem::Ext::Builder removes dependency to directory creation task
- Eric, could you handle this?
the following is a translation of this issue:
lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time,
so lib directory creation task won't be run.
thus for instance when tried to in... -
06:15 AM Bug #7949 (Closed): Gem::Ext::Builder removes dependency to directory creation task
- lib/rubygems/ext/builder.rb:22 removes dependency to ./RUBYARCHDIR.time,
so lib directory creation task won't be run.
thus for instance when tried to install rubyzip.gem which doesn't have lib directory,
rubygem makes binary file "l... -
08:10 AM Revision 9156a04d (git): test_string.rb: defer ENUMERATORS_WANTARRAY to next major
- * test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): defer
new behavior to next major.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Revision 246c3a0b (git): test_string.rb: ENUMERATORS_WANTARRAY
- * test/ruby/test_string.rb (TestString::ENUMERATOR_WANTARRAY): name
test branching codition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:47 AM Revision 6ff10e76 (git): common.mk: clean miniprelude.c
- * common.mk (realclean-local): miniprelude.c is made by srcs, so it
should not removed by distclean but by realclean. [Bug #6807]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:30 AM Revision e276482e (git): * lib/rubygems/config_file.rb: Lazily load .gem/credentials to only
- check permissions when necessary. RubyGems bug #465
* test/rubygems/test_gem_config_file.rb: Test for the above.
* test/rubygems/test_gem_commands_push_command.rb: Remove duplicated
test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
06:59 AM Revision be26224b (git): depend: fix for static library on mswin
- * enc/depend (ARFLAGS, RANLIB): these values can be nil. [Bug #7950]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:47 AM Revision 72aee032 (git): depend: fix for static library on mswin
- * enc/depend (ARFLAGS): VisualC++ linker does not allow spaces between
output option and the output file name. [Bug #7950]
* enc/depend (RANLIB): set default command to do nothing, or make the
entire line a label on Windows.
git-sv... -
05:41 AM Revision 593ffbcf (git): mkmf.rb: default libdirname
- * lib/mkmf.rb (MakeMakefile#init_mkmf): default libdirname to libdir.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Feature #7918: Create Signal.in_trap?()
- SASADA Koichi <ko1@atdot.net> wrote:
> (2013/02/23 11:31), kosaki (Motohiro KOSAKI) wrote:
> > Currently, ruby library have no way to detect a method is called from trap handler or not.
> > This is useful because Mutex#lock under ... -
03:23 AM Feature #7918: Create Signal.in_trap?()
- (2013/02/23 11:31), kosaki (Motohiro KOSAKI) wrote:
> Currently, ruby library have no way to detect a method is called from trap handler or not.
> This is useful because Mutex#lock under trap raises an exception and some libraries m... -
02:53 AM Feature #7918: Create Signal.in_trap?()
- Hello,
This feature looks reasonable for me.
I'd like to clarify the specification. Should the following code show true? or false?
Signal.trap(:USR1) do
Process.kill(:USR2, $$)
end
Signal.trap(:USR2) do
p Process.in_trap... -
04:54 AM Revision 2c183f55 (git): string.c: STRING_ENUMERATORS_WANTARRAY
- * string.c (STRING_ENUMERATORS_WANTARRAY): name preprocessing
codition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:12 AM Revision 59193703 (git): configure.in: find Setup file automatically
- * configure.in (setup): find Setup file from target_os 1. by
suffix (e.g. Setup.nacl, Setup.atheos), 2. by "platform"
option (e.g. Setup.nt, Setup.emx), and 3. default Setup. And
Setup.dj had been removed.
git-svn-id: svn+ssh://c... -
04:10 AM Revision eed06bb0 (git): thread.c: remove unnecessary sentence
- * thread.c (thread_start): initialize method is not concerned with
Thread.start and Thread.fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Revision 84e8862c (git): * thread.c: Document Thread::new, clean up ::fork and mention calling
- super if subclassing Thread
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 AM Revision 1580dd29 (git): * ext/socket/extconf.rb: don't test ss_family and ss_len member of
- struct sockaddr_storage. They are not used now except SunOS
specific code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:27 AM Bug #7940 (Assigned): Mistaken use of inline rescues in stdlib
-
02:40 AM Bug #7938 (Third Party's Issue): Stack consistency error while compiling 2.0.0-p0
- This sounds because they use Xcode 4.2 with ruby-build which wrongly hacks with CC=cc and it breaks build.
See also https://github.com/sstephenson/ruby-build/issues/290
It will be fixed by ruby-build.
If you don't use ruby-build a... -
12:50 AM Bug #7938: Stack consistency error while compiling 2.0.0-p0
- I've got the same error with
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) -
12:44 AM Bug #7938: Stack consistency error while compiling 2.0.0-p0
- I cannot reproduce it with gcc 4.2.1 (Apple Inc. build 5666) and clang 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn) on darwin 12.2.0.
-
02:38 AM Revision c5a7cf00 (git): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:09 AM Revision 6487abea (git): Fix ksh/bash-ism.
- * configure.in (unexpand_shvar): Use the numeric comparison
operator instead of '==' which is a ksh extention. [Bug #7941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Revision 1a76bf39 (git): fix major-mode for emacs
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:41 AM Revision beafa477 (git): old ChangeLog and NEWS move to doc
- * doc/NEWS-2.0.0: moved from NEWS
* doc/ChangeLog-2.0.0: moved ChangeLog older than created ruby_2_0_0 branch
* NEWS: NEWS for 2.1.0 that describes changes since 2.0.0
* ChangeLog: ChangeLog since created ruby_2_0_0 branch
git-svn-id: s... -
12:25 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- I see.
Thank you all and Happy Ruby 2.0! -
12:21 AM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- It looks like wrong header file for float.h. Just copying the header file solves that.
$ cd mingw-w32-1.0-bin_i686-darwin_20110822
$ cp i686-w64-mingw32/include/float.h lib/gcc/i686-w64-mingw32/4.5.4/include/float.h
Cross compilin...
02/24/2013
-
11:25 PM Bug #7944 (Closed): 1.9.3 can't process and generate documentation for 2.0.0 (lib/profiler.rb)
- =begin
While working on RubyInstaller, we try to generate RDoc of Ruby source.
Using RDoc 3.12.1, we received the following:
Parsing sources...
18% [125/663] lib/profiler.rb
RDoc::Parser::Ruby failure around line 79 of
... -
11:23 PM Feature #7939 (Assigned): Alternative curry function creation
- > nobu
It can't be reason to reject this.
And describe the reason by English -
11:19 PM Feature #7939 (Rejected): Alternative curry function creation
- =begin
fb = ->(modulo_number, message, x) { message if x % modulo_number == 0 }.curry(3)
fizzbuzz = fb[15,"FizzBuzz"]
fizz = fb[3, "Fizz"]
buzz = fb[5, "Buzz"]
(1..100).each { |i| puts fizzbuzz[i] || fizz[i] || buzz[i] || i }
... -
10:30 PM Feature #7939: Alternative curry function creation
- It's Partial Application, not currying.
-
08:38 PM Feature #7939 (Feedback): Alternative curry function creation
- =begin
I really like the new "(({assuming}))" method used for currying in Perl 6.
For example if I loose my mind and implement ((%fizzbuzz%)) via currying I can do it like this:
fb = ->(modulo_number, message, x) { message if x ... -
10:49 PM Bug #7943 (Rejected): Can't build from source or snapshots without pre-existing Ruby
- Duplicate of #6807, which I just reopened.
-
10:46 PM Bug #7943 (Rejected): Can't build from source or snapshots without pre-existing Ruby
- On a Linux system with autotools, GCC etc,
but no pre-existing Ruby, make fails for the following snapshots:
http://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz
http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p392.tar.gz
http://ftp... -
10:48 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- I am not knowledgeable about mingw.
However, the version of mingw seems to have a very important meaning for luis,
doesn't it?
If so, luis, simply you should correct trunk and make a backport ticket for 2.0.0.
-
09:43 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- ko1 (Koichi Sasada) wrote:
> 2.0.0 was released.
Thank you Koichi for letting me now that 2.0.0-p0 is out and that will break gem compilers expectations.
2.0.0 introduces a new ABI version (2.0.0) that differs from 1.9.3 (1.9.1), ... -
09:14 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- 2.0.0 was released.
-
03:45 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- It sounds just like newer mingw64 package is desired, to me.
-
02:46 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- mame (Yusuke Endoh) wrote:
> Then, is it a bug of the old mingw-w64?
> ...
If you read my original report: release of p0 with this issue will result in developers unable to provide binaries of some gems for Windows users.
Lot of Rub... -
02:39 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- Then, is it a bug of the old mingw-w64?
If so, I don't think this is a urgent task; let's address it after p0.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:11 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- mame (Yusuke Endoh) wrote:
> Could the version of mingw build rc2?
> ...
I no longer have "mingw" installed on this box, only mingw-w64 version of compiler.
This version of compiler cannot build rc2, same error as the report:
co... -
01:59 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- Could the version of mingw build rc2?
I'm not sure if the file "_mingw_float.h" does always exist when defined(__MINGW64_VERSION_MAJOR) is true.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:53 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- nobu (Nobuyoshi Nakada) wrote:
> I wonder if that header can be always included unconditionally.
> ...
I think only mingw-w64 suffers this issue.
> BTW, what package are you using, Luis?
> ...
I'm using mingw-w32-1.0-bin_i686-darwi... -
01:47 PM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- I wonder if that header can be always included unconditionally.
BTW, what package are you using, Luis?
Seems I have to install same package too. -
01:43 PM Bug #7921 (Assigned): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- nobu (Nobuyoshi Nakada) wrote:
> With which mingw do you fail?
> ...
Hello Nobu-san,
I can confirm this only happens with that particular version. Even if float.h is included, _mingw_float.h seems is not included.
I see no harm i... -
08:43 AM Bug #7921: Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- =begin
nobu (Nobuyoshi Nakada) wrote:
> With which mingw do you fail?
> ...
This fails with mingw-w64 4.5.4:
$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 4.5.4 20110822 (prerelease)
I'm testing against 4.7.2 on... -
08:35 AM Bug #7921 (Feedback): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- With which mingw do you fail?
I haven't seen that error. -
12:38 AM Bug #7921 (Third Party's Issue): Cross-compiling ruby_2_0_0 to Windows is failing (rb_w32_pow)
- =begin
Hello,
Cross-compilation of Ruby targeting Windows (using MinGW) is an important tool for Linux/OSX developers to provide pre-compiled binary gems for Windows users. Having cross-compilation failing for Ruby 2.0 will complicat... -
09:48 PM Bug #7938 (Feedback): Stack consistency error while compiling 2.0.0-p0
- Could you show config.log, clang --version, and gcc --version?
-
06:43 PM Bug #7938 (Third Party's Issue): Stack consistency error while compiling 2.0.0-p0
- ./configure
make
-
09:24 PM Bug #7282: Invalid UTF-8 from emoji allowed through silently
- ko1 (Koichi Sasada) wrote:
> naruse-san, what is the status of this ticket?
I don't understand what is the current problem of this ticket.
If headius has some issue, could you summarize it?
Or nothing, close this. -
09:19 PM Bug #7282: Invalid UTF-8 from emoji allowed through silently
- naruse-san, what is the status of this ticket?
-
09:24 PM Feature #7400: Incorporate OpenSSL tests from JRuby.
- ping -> Martin
-
09:23 PM Feature #5994: Dir.glob without wildcards returns pattern, not filename
- ping -> nobu
-
09:23 PM Feature #7476: missing "IP_TRANSPARENT" constant for IP sockets.
- ping -> akr
-
09:22 PM Bug #7940 (Closed): Mistaken use of inline rescues in stdlib
- Hey,
There are two uses of inline rescues in stdlib that look dubious. They are unlikely to ever cause any harm, but still. They've been there for a while now, and are still in trunk. I attached a patch that changes both of them.
I... -
09:21 PM Feature #7414: Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
- aaron, could you continue this discussion?
-
09:19 PM Feature #7412: Pathname#relative_path_from does not support mixed directory separators on windows
- ping -> akr
-
09:18 PM Bug #3434: Specs for coercion?
- I'm not sure about this ticket.
Who can discuss about it? -
09:17 PM Feature #2255: unicode parameters cannot be passed to ruby
- ping -> usa
-
09:17 PM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- ping -> nobu.
-
09:16 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- Sorry for my late work.
I'll check soon.
-
07:17 PM Feature #4897: Define Math::TAU and BigMath.TAU. The "true" circle constant, Tau=2*Pi. See http://tauday.com/
- Could this patch be applied now? As previously said, it's a good thing to show support for and it's a rather tiny and otherwise harmless addition.
- 05:51 PM Revision 2b847f81 (git): * 2013-02-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:51 PM Revision c89844db (git): * ext/socket: define and use union_sockaddr instead of struct
- sockaddr_storage for less casts.
* ext/socket/rubysocket.h (union_sockaddr): defined.
* ext/socket/socket.c (sock_accept): use union_sockaddr.
(sock_accept_nonblock): ditto.
(sock_sysaccept): ditto.
(sock_s_getnameinfo): ditto.
... -
03:20 PM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- Also, r39464 for ruby_2_0_0 branch.
-
03:15 PM Bug #7924 (Closed): r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- This issue was solved with changeset r39463.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Removed duplicate Accept-Encoding in Net::... -
02:48 PM Bug #7924 (Assigned): r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- Looks serious. Got ack from hsbt and nagachika.
Drbrain, could you please commit it to trunk and ruby_2_0_0 in advance?
I'll ask naruse-san to do post-review, if he could wake up early enough ;-)
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:23 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- > Kosaki-san, the patch contains a test to ensure that decode_content is enabled when using Net::HTTP#get. The behavior of decode_content is already tested in r39232.
>
> Is it sufficient?
Oops, I missed that. sorry for noise. -
09:51 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- Kosaki-san, the patch contains a test to ensure that decode_content is enabled when using Net::HTTP#get. The behavior of decode_content is already tested in r39232.
Is it sufficient? -
09:36 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- Please please make a test. for preventing regression.
-
09:25 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- make check all green with the patch in my environment [x86_64-darwin12.2.0].
-
08:13 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- this patch seems good.
-
08:06 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- assigned to Naruse-san for approval
-
08:05 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- The attached patch removes the duplicated header setting in Net::HTTP#get and adds a test.
I double checked net/http* for use of accept-encoding or HAVE_ZLIB, now it only exists in Net::HTTPGenericRequest and Net::HTTPResponse. -
08:02 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- translation of this issue: http://bugs.ruby-lang.org/issues/7831#note-10
-
07:58 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- I found the bug, I will post a patch with a test momentarily.
-
07:37 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- 問題になった r32932 ruby_2_0_0 にすでにマージされているので、このまま2.0.0を出すとけっこう影響の大きいバグだと思います。
-
07:36 AM Bug #7924: r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- accept-encodingの無指定時に、http.rbのget()でaccept-encodingをつけていて、そのためにgeneric_request.rbが「あ、指定してるんならdecode_content=falseでいいよね」としているのが原因。
accept-encodingの無指定時に"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"をセットするコードが、http.rbのget()とhttp/generic_requ... -
07:15 AM Bug #7924 (Closed): r39232 以降 net/http で正しく reponse を取得出来ないケースがある
- r39232 以降、tDiary の以下のようなコードが動かなくなりました。
https://github.com/tdiary/tdiary-contrib/blob/master/plugin/flickr.rb#L185
単純に net/http を使用して flickr.com から xml を取得するコードですが、r39232で加えた
変更により、本来 inflate されるべき response.body が gzip の状態のままになっていま... -
02:06 PM Bug #7860 (Closed): Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
- I talked with nobu, and he said he could not reproduce #7915.
I decided to leave the backport as is. Sorry if my decision is wrong...
I'm closing this ticket.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:39 PM Bug #7915 (Assigned): Rubygems stub shebang is wrongly expanded
- Nobu said he cannot repro.
Sorry, we have no time to consider this issue.
It may be fixed in a patch level release after 2.0.0-p0.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:10 PM Revision ef339580 (git): Use require_relative to require local library
- * from 1.9 require relative path from the file must use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:16 PM Revision 66f91357 (git): * ext/date/date_core.c: [ruby-core:52303]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:26 AM Bug #7820 (Closed): Let's decide Ruby 2.0 supported platform list
- Hello, thank you all for the feedback!
I updated:
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/20SupportedPlatforms
* removed "DRAFT"
* multiple maintainers for one platform are allowed
* added some people as ... -
12:23 AM Bug #7820: Let's decide Ruby 2.0 supported platform list
- On Wed, Feb 13, 2013 at 7:42 AM, U.Nakamura <usa@garbagecollect.jp> wrote:
> Hello,
>
> In message "[ruby-core:52116] [ruby-trunk - Bug #7820] Let's decide Ruby 2.0 supported platform list"
> on Feb.11,2013 03:09:46, <redmi... -
08:09 AM Bug #7878 (Closed): E::Lazy#grep ignores ^C
- merged at r39332.
-
08:06 AM Bug #7913: `./configure --enable-multiarch` fails
- r39427 should fix this.
-
08:01 AM Revision 8c101e95 (git): * version.h: changed version string like
- `ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 AM Revision 5dabe228 (git): * ext/io/console/io-console.gemspec: bump. [Backport #7891]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:48 AM Revision 9e068352 (git): test_array.rb: fix test for r39466
- * test/ruby/test_array.rb (test_sample_random): remove adjustment for
the bug fixed by r39466. [ruby-core:52779] [Bug #7935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:00 AM Feature #7923 (Closed): Queue#push and Queue#pop makes trap safe
- Currently, following program don't work because q.push raises an exception.
However, it would be nice if queue is trap safe and Queue#push and Queue#pop can be called from trap handler.
------------------------------------------
req... -
06:58 AM Bug #7823 (Closed): sitelibへのsoのコピー (2.0.0)
- r39311でバックポートしました。
-
06:54 AM Revision c81c3efa (git): bump version
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:33 AM Revision d64c926e (git): random.c: increase limit for generic rand
- * random.c (rb_random_ulong_limited): limit is inclusive, but generic
rand method should return a number less than it, so increase for the
difference. [ruby-core:52779] [Bug #7935]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
06:19 AM Revision faa9fb59 (git): Merge trunk revision: 39463
- * lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get.
[ruby-trunk - Bug #7924]
* test/net/http/test_http.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39464 b2dd03c8-39d4-4... -
06:15 AM Revision 023561f7 (git): * lib/net/http.rb: Removed duplicate Accept-Encoding in Net::HTTP#get.
- [ruby-trunk - Bug #7924]
* test/net/http/test_http.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 AM Revision 495d8b0e (git): backport r39460, ack'd by mame-san
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:29 AM Revision 1f9fa7c6 (git): * thread.c: Document ThreadGroup::Default
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:23 AM Revision 5feede6f (git): * thread.c: Grammar for #backtrace_locations and ::handle_interrupt
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:08 AM Revision e8600e14 (git): * enum.c (Enumerable#chunk: Improved examples, grammar, and formatting
- Patch by Dan Bernier and Rich Bruchal of newhaven.rb
[Backport #7926]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:06 AM Revision 339999b1 (git): * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
- Patch by Devin Weaver [Backport #7927]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:04 AM Revision 5936806c (git): * ext/pty/pty.c: Documentation for the PTY module [Backport #7928]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 AM Revision f9c24492 (git): * object.c: Document Data class by Matthew Mongeau [Backport #7929]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:49 AM Revision f03c439c (git): * lib/mutex_m.rb: Add rdoc for Mutex_m module [Backport #7930]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:45 AM Revision 42142d43 (git): * object.c: rdoc formatting for Kernel#Array() [Backport #7931]
- * array.c: Add rdoc for Array() method to Creating Arrays section
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:43 AM Revision bd0880d5 (git): * thread.c: Documentation for Thread#backtrace_locations
- [Backport #7932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:39 AM Revision ae155a86 (git): * vm.c: Typo in ObjectSpace::WeakMap overview [Backport #7933]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:36 AM Revision ac94eb1a (git): vm_insnhelper.c: compare with me in method top cfp
- * vm_insnhelper.c (vm_call_method): block level control frame does not
have method entry, so obtain the method entry from method top-level
control frame to be compared with refined method entry.
[ruby-core:52750] [Bug #7925]
git-s... -
04:31 AM Revision f917b4d2 (git): * thread.c: Improved rdoc for ::handle_interrupt, ::pending_interrupt?
- and #pending_interrupt? [Backport #7934]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:24 AM Revision bd88e6c0 (git): * object.c: Document methods receiving string and convert to symbol
- Patch by Stefan Rusterholz
* vm_eval.c: ditto
* vm_method.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:59 AM Revision 6aaf5c5c (git): * .gdbinit (rp): fix argument order.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:23 AM Feature #7914: Case for local class methods
- Thomas Sawyer, you are the language troll, IMHO.
(But, maybe I'm too)
Everyone else, excuse me for not being polite.
23.02.2013 12:17 пользователь "trans (Thomas Sawyer)" <transfire@gmail.com>
написал:
>
> Issue #7914 has be... -
01:16 AM Revision 62174177 (git): signal.c: fix type
- * signal.c (sigsegv): type of write(2) is ssize_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 AM Revision 2474a1ac (git): remove duplicated entry.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:17 AM Revision bc5a5989 (git): * signal.c (sigsegv): suppress unused result warning. Because
- write(2) is marked __warn_unused_result__ on Linux glibc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/23/2013
-
10:57 PM Bug #7920 (Closed): Version of RubyGems in NEWS incorrect
- This issue was solved with changeset r39432.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* NEWS: Fix RubyGems version [Bug #7920] -
10:29 PM Bug #7920 (Closed): Version of RubyGems in NEWS incorrect
- NEWS claims that RubyGems 2.0.0.preview2 is used, but according to ChangeLog, 2.0.0 (non-preview) is used.
If there's any changes between 2.0.0.preview2, and 2.0.0 for RubyGems, additional changes to NEWS may be required.
A patch i... -
10:51 PM Revision 45dea575 (git): compile.c: no keyword check if kw_rest
- * compile.c (iseq_set_arguments): no keyword check if any keyword rest
argument exists, even unnamed. [ruby-core:52744] [Bug #7922]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:18 PM Revision 45c33f5e (git): * backport r39442 from trunk:
- * array.c: Fix rdoc for flatten!
* hash.c: Correct rdoc for reject!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:17 PM Revision a6d08b45 (git): * array.c: Fix rdoc for flatten!
- * hash.c: Correct rdoc for reject!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:41 PM Revision 73b79a62 (git): * 2013-02-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:41 PM Revision 28fcad35 (git): * Backport r39438 from trunk:
- * enumerator.c: rdoc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:38 PM Revision a0f3e24f (git): * 2013-02-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:38 PM Revision 673e1b92 (git): * enumerator.c: rdoc fix
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:23 PM Bug #7917: Can't write to a Logger in a signal handler
- > trap 'INT' do
> t = Thread.new do
> LOG.info "Hello"
> end
> t.join
> end
Oops, no. This code is completely wrong. Sorry for confusing.
Please don't mind my previous mail. This code is deadlockable and
sho... -
05:23 PM Bug #7917: Can't write to a Logger in a signal handler
- On Sat, Feb 23, 2013 at 3:06 AM, Eric Wong <normalperson@yhbt.net> wrote:
> "mperham (Mike Perham)" <mperham@gmail.com> wrote:
>> trap 'INT' do
>> LOG.info "Hello"
>> end
>
> An ugly workaround I use is to spawn a thread i... -
05:23 PM Bug #7917: Can't write to a Logger in a signal handler
- "mperham (Mike Perham)" <mperham@gmail.com> wrote:
> trap 'INT' do
> LOG.info "Hello"
> end
An ugly workaround I use is to spawn a thread inside trap:
trap 'INT' do
Thread.new do
LOG.info "Hello"
end
end -
03:22 PM Bug #7917 (Assigned): Can't write to a Logger in a signal handler
- This issue is arguable, but anyway I don't consider it a showstopper.
I postpone it to 2.1.0.
It is very arguable if the fault is in the code, or in the design of Ruby core.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:40 AM Bug #7917: Can't write to a Logger in a signal handler
- Because your example is deadlockable when using 1.9.3 or earlier. 2.0 detect your mistake and tell you.
-
09:49 AM Bug #7917 (Rejected): Can't write to a Logger in a signal handler
- Looks like Ruby 2.0 does not allow Mutex#lock within a signal handler. This prevents Logger from working since it uses an underlying mutex.
log writing failed. can't be called from trap context
log writing failed. can't be called fr... -
05:17 PM Feature #7914: Case for local class methods
- @rosenfeld Maybe I approached this backwards. I just wanted to show one possible use case for supporting local vs. non-local class methods. Your in-method conditional solution works for this specific case, true. But how well does it tran...
-
10:35 AM Feature #7914: Case for local class methods
- It seems trivial and usually avoidable.
I guess it could achieve with Module#using.
-
02:45 AM Feature #7914: Case for local class methods
- (I don't have any idea about this ticket. but I feel the name `local' recall perl)
-
02:18 AM Feature #7914: Case for local class methods
- Maybe you could ask for some special method/keyword to know if the class is the same as the declared one (instead of some inheriting class):
def special_name
local_class? ? 'unique:Y' : super
end
Or instead of "local_clas... -
02:14 AM Feature #7914: Case for local class methods
- What about the code below?
class Y < X
def special_name
self.class.name == 'Y' ? 'unique:Y' : super
end
end
-
02:10 AM Feature #7914: Case for local class methods
- This doesn't seem to be supported by any OO concept I've heard about and basically breaks the conceptual inheritance model in OO in my opinion. I wouldn't like to have to debug a code that behaved like this. It would make understanding a...
-
12:13 AM Feature #7914 (Assigned): Case for local class methods
- =begin
Here is a use case for local class methods.
Say we wish to give certain classes and all subclasses a special name.
class X
def self.special_name
"special:#{name}"
end
end
class Y < X; end
class Z... - 05:10 PM Revision e2eae537 (git): * 2013-02-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:10 PM Revision 57bca36e (git): * configure.in: Minix 3.2.1 supports shared libraries as NetBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@39436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 PM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
- Oops, this caused #7915...
I'm now keen to revert the bunch of patches. What do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:27 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
- なかださん、お忙しい?
--
Yusuke Endoh <mame@tsg.ne.jp> - 02:24 PM Revision 3678e7eb (git): * Backport r39434 from trunk:
- * NEWS: Reorder and fix indent levels [ruby-core:52723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:23 PM Revision 87e0df89 (git): * NEWS: Reorder and fix indent levels [ruby-core:52723]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:00 PM Revision 60663f66 (git): * Backport r39432 from trunk:
- * NEWS: Fix RubyGems version [Bug #7920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:57 PM Revision 315c72e2 (git): * NEWS: Fix RubyGems version [Bug #7920]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:51 AM Bug #7803 (Closed): RDoc documentation: `Array#&` clarification
- Resolved by r39415
-
11:31 AM Feature #7918 (Rejected): Create Signal.in_trap?()
- Currently, ruby library have no way to detect a method is called from trap handler or not.
This is useful because Mutex#lock under trap raises an exception and some libraries may want to avoid it.
Then, I would like to create Signal.... -
11:22 AM Bug #921: autoload is not thread-safe
- Apologies in advance if this is the wrong place to get clarification:
It's been widely circulated that autoload is deprecated - http://www.ruby-forum.com/topic/3036681 - does this patch change that stance?
I ask because autoload still ... -
09:46 AM Bug #7913: `./configure --enable-multiarch` fails
- Hi, sorry, but even with this change it sill fails at the linking stage with the same error.
The attached patch fixes the problem - I hope I get this one rigtr! :-) -
07:53 AM Bug #7913 (Closed): `./configure --enable-multiarch` fails
- This issue was solved with changeset r39393.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.pc.in: reorder
* template/ruby.pc.in: reorder library fl... -
09:24 AM Bug #7916: Callback Module.used is not used...
- marcandre (Marc-Andre Lafortune) wrote:
> Module.used was meant to be called when it is called with `using`, see r36596.
> ...
It's because Module#using is removed.
Module#used is intended to be called when Module#using is called, so ... -
08:08 AM Bug #7916 (Closed): Callback Module.used is not used...
- Module.used was meant to be called when it is called with `using`, see r36596.
It's not called right now.
-
08:08 AM Revision 5a34caab (git): test_backtrace.rb: test Thread#backtrace_locations with range
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:52 AM Revision a153ce31 (git): * thread.c: Documentation for Thread#backtrace_locations
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:06 AM Revision a14f02f0 (git): * vm.c: Typo in ObjectSpace::WeakMap overview
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:00 AM Revision 5f2e4338 (git): * thread.c: Improved rdoc for ::handle_interrupt, ::pending_interrupt?
- and #pending_interrupt?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:20 AM Revision 4abd941e (git): * Makefile.in (archlibdir): needed for multiarch.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:48 AM Bug #7915: Rubygems stub shebang is wrongly expanded
- Reverting 39267 (part of 39320 backport) fixed the issue. Could you plase revert or provide better patch? Thank you.
-
05:03 AM Bug #7915 (Closed): Rubygems stub shebang is wrongly expanded
- =begin
Rubygems stub shebang is wrongly expanded. It used to be /usr/bin/ruby in rev39237 and now it is /bin/ruby in rev39387. It seems, that the --with-exec prefix is wrong handled, se
ruby -rrbconfig -e "RbConfig::CONFIG.each {|c| p... -
05:20 AM Revision 2fd5dcc0 (git): merge revision(s) 39335:
- * include/ruby/ruby.h (HAVE_RB_SCAN_ARGS_OPTIONAL_HASH): for
rb_scan_args() optional hash feature. [Bug #7861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Revision de697194 (git): merger.rb: runnable
- * tool/merger.rb: make runnable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:49 AM Revision 0ac71e72 (git): merger.rb: suppress warnings
- * tool/merger.rb (version_up, tag, default_merge_branch): suppress
syntax warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:03 AM Revision 5b764f07 (git): merge revision(s) 39298:39300:
- * lib/ipaddr.rb (IPAddr#in6_addr): Fix a typo with the closing
parenthesis.
* lib/ipaddr.rb (IPAddr#in6_addr): Fix the parser so that it can
recognize IPv6 addresses with only one edge 16-bit piece
... - 04:01 AM Revision 937e68b9 (git): merge revision(s) r39281:
- * configure.in (LIBRUBY_DLDFLAGS): Fix a bug where --with-opt-dir
options given were not reflected to LIBRUBY_DLDFLAGS on many
platforms including Linux and other GNU-based systems, NetBSD,
AIX and BeOS.
g... - 04:00 AM Revision 74ba25b3 (git): merge revision(s) r39255:
- * configure.in: Fix a bug introduced in r38342 that the cflagspat
substitution is messed up by the way CFLAGS and optflags are
modified, which affected FreeBSD and NetBSD/amd64 when
configured to use libexec... - 03:58 AM Revision a3b2161c (git): merge revision(s) r39290:
- * lib/mkmf.rb: remove extra topdir in VPATH, which was in
win32/Makefile.sub for some reason and moved from there.
[ruby-dev:46998] [Bug #7864]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39420 b... - 03:55 AM Revision 5b7d2440 (git): misc/ruby-electric.el: Avoid electric insertion in some cases.
- * misc/ruby-electric.el (ruby-electric-curlies)
(ruby-electric-matching-char, ruby-electric-bar): Avoid electric
insertion when there is a prefix argument.
* misc/ruby-electric.el (ruby-electric-insert)
(ruby-electric-cua-replace-... -
03:35 AM Revision c2204ca3 (git): * array.c: Document #<=> return values and formatting
- * bignum.c: ditto
* file.c: ditto
* object.c: ditto
* numeric.c: ditto
* rational.c: ditto
* string.c: ditto
* time.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:34 AM Revision 827e71bd (git): test_process.rb: fix test
- * test/ruby/test_process.rb (assert_fail_too_long_path): get rid of
syntax error on sh, increase command line size until it exceeds the
limit. [Bug #7904]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39417 b2dd03c8-39d4-4d8f-9... - 03:13 AM Revision 3ecab225 (git): merge revision(s) 39321:
- * ext/bigdecimal/bigdecimal.gemspec: bump to 1.2.0.
[ruby-core:51777] [Bug #7761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:50 AM Revision 933ff1d6 (git): * array.c (rb_ary_diff, rb_ary_and, rb_ary_or): Document return order
- [RubySpec #7803
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 AM Revision c135883d (git): * object.c (rb_obj_comp): Documenting Object#<=> return values
- Patch by Stefan Rusterholz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 AM Feature #7907: Give meaning to staby word
- People will see the changes but when they're looking for open issues to decide what to do about them they won't touch closed issues :)
-
01:05 AM Bug #7521 (Feedback): test_thr_kill(TestQueue) fails
- Again, please provide smallest reproducer.
thanks. -
12:47 AM Bug #7521 (Open): test_thr_kill(TestQueue) fails
- I reopening, since I met this issue again with ruby 2.0.0dev (2013-02-22 trunk 39387) [i386-linux]. This is my build log [1]. It happens just from time to time. Actually I did probably hundreds of build since the time I initially reporte...
-
12:48 AM Revision 3331d677 (git): dir.c: encoding check
- * dir.c (file_s_fnmatch, fnmatch_brace): encoding-incompatible pattern
and string do not match, instead of exception. [ruby-dev:47069]
[Bug #7911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39413 b2dd03c8-39d4-4d8f-98ff-823f... - 12:15 AM Revision e748726a (git): * Backport r39399 from trunk:
- * NEWS: Specify that Proc#eql? was also removed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e