Activity
From 02/21/2013 to 02/27/2013
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
[email protected] - 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) <[email protected]>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 <[email protected]> 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 [email protected].
> ...
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 <[email protected]> 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 <[email protected]> -
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 <[email protected]> -
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 <[email protected]> -
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 <[email protected]> -
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 <[email protected]> -
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 <[email protected]> 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)" <[email protected]>
написал:
>
> 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 <[email protected]> wrote:
> "mperham (Mike Perham)" <[email protected]> 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)" <[email protected]> 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 <[email protected]> -
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 <[email protected]> -
03:27 PM Bug #7823: sitelibへのsoのコピー (2.0.0)
- なかださん、お忙しい?
--
Yusuke Endoh <[email protected]> - 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
02/22/2013
-
11:59 PM Bug #6573: Webrick test failures
- The attached patch does not work every time. I went ahead and applied [1] (i.e. the patch described in comment 6, if I got it correctly ;)) for Fedora and so far so good.
[1] http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby-1.9... - 11:59 PM Revision c12f69cb (git): * backport r39410 from trunk
- * doc/NEWS-*: Update NEWS from their respective branches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:57 PM Revision 143a2f7e (git): * doc/NEWS-*: Update NEWS from their respective branches
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:49 PM Feature #7907: Give meaning to staby word
- Once a issue has been rejected, is it necessary to open a new case for a modified form of the proposal? In other words is any one going to see the change if it has already been rejected? As with this case?
-
12:59 PM Feature #7907: Give meaning to staby word
- Ah, `->foo{}` did not know that the parenthesis could be left out.
Ok, I'll suggest slight modification then, b/c it still would be nice to have a shorter notation (not just to fill a syntax hole). Could it be a symbol, i.e. `->:foo`.
-
12:10 PM Feature #7907 (Rejected): Give meaning to staby word
- =begin
I think filling the syntax hole eagerly is a bad idea.
Besides that, I don't think making ((%->foo%)) as method(:foo).to_proc seems a good idea,
since foo in ((%->foo{}%)) is a argument name, not a method name.
Matz.
=end
-
03:06 AM Feature #7907 (Rejected): Give meaning to staby word
- =begin
I noticed that `->word` doesn't mean anything. i.e.
>> ->foo
SyntaxError: (irb):4: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG
from /opt/Ruby/1.9.3-p327/bin/irb:12:in `<main>'
If that i... - 11:33 PM Revision 7c8a4774 (git): * backport r39400-r39407 from trunk.
- * NEWS: many additions
* object.c: Add doc for Module.prepended
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:18 PM Revision d52f95dc (git): * NEWS: + Module.prepended and Module.prepend_features
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:18 PM Revision eff6180e (git): * object.c: Add doc for Module.prepended
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:18 PM Revision 8222a78e (git): * NEWS: + Thread::Backtrace::Location
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:18 PM Revision a3d592b4 (git): * NEWS: Add privacy of respond_to_missing? & al as a potential incompatibility
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:17 PM Revision 1727511e (git): * NEWS: Fix ARGF#codepoints
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:17 PM Revision ed045985 (git): * NEWS: Add that unused variables starting with _ won't generate a warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:17 PM Revision 15fcd78f (git): * NEWS: Add Enumerable::Lazy to list
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:17 PM Revision 11354e24 (git): * NEWS: + RubyVM::InstructionSequence new methods
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:16 PM Revision 1ac0694c (git): * NEWS: + ObjectSpace::WeakMap
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:16 PM Revision ca28854e (git): * NEWS: Specify that Proc#eql? was also removed
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:16 PM Revision 3f8d1800 (git): * NEWS: pending_interrupt? is both instance and singleton method
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:16 PM Revision e0003e07 (git): * NEWS: Add Thread#pending_interrupt? and Thread.handle_interrupt
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:15 PM Revision bc11b883 (git): * NEWS: Floats are frozen too
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:15 PM Revision 10f95341 (git): * NEWS: Add that Fixnums and Bignums are frozen
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:53 PM Revision 9dc30d2b (git): * 2013-02-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:53 PM Revision 724d7f03 (git): ruby.pc.in: reorder
- * template/ruby.pc.in: reorder library flags which may refer library
names. [Bug #7913]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 PM Revision 9f9c0426 (git): Merge trunk revision: 39366
- * lib/rubygems/installer.rb (build_extensions): Create extension
install destination before building extension. Patch by Kenta Murata.
[ruby-trunk - Bug #7897]
* test/rubygems/test_gem_installer.rb: Test for the above.
git-svn-i... -
09:04 PM Bug #7913: `./configure --enable-multiarch` fails
- My patch make the ./configure part pass, but the build still fails at linking stage:
gcc -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -We... -
08:36 PM Bug #7913 (Closed): `./configure --enable-multiarch` fails
- Hi, since the changes in bug #7874 `./configure --enable-multiarch` does not work in trunk anymore:
$ autoreconf && ./configure --target=x86_64-linux-gnu --enable-multiarch
[...]
configure: creating ./config.status
config.status: c... - 07:35 PM Revision c40038bf (git): * NEWS: pending_interrupt? is both instance and singleton method
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:59 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
- On 22 February 2013 17:13, vo.x (Vit Ondruch) <[email protected]> wrote:
> Reading the documentation, it says "Returns the Symbol corresponding to
> str, creating the symbol if it did not previously exist." So what would
> t... -
04:13 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
- Student (Nathan Zook) wrote:
> #2) to_existing_sym. This would be defined in the same places as to_sym, but would through an argument error if the symbol did not already exist.
Reading the documentation, it says "Returns the Symbol ... -
02:52 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
- These sound like my (new & preferred) proposal for Symbol[string] #7854.
That is, return the symbol if it already exists, nil if not.
-
12:17 PM Feature #7795: Symbol.defined? and/or to_existing_symbol
- I agree with the basic concept of the proposal.
I am not sure Symbol#defined? is a appropriate name for it yet.
The possible addition I like is either:
* add Symbol#define? or similar method
* add optional keyword argument to int... - 05:49 PM Revision c9d00de5 (git): * 2013-02-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:49 PM Revision 4b6e74a8 (git): * NEWS: Add Thread#pending_interrupt? and Thread.handle_interrupt
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:27 PM Bug #7805: ruby 2.0rc2 core on solaris
- Sometimes RB_GC_GUARD() doesn't work well with Oracle SolarisStudio cc.
[Bug #5762] is another example.
-
05:12 PM Bug #7805: ruby 2.0rc2 core on solaris
- It means RB_GC_GUARD() doesn't work well with Solaris CC?
-
05:03 PM Bug #7805: ruby 2.0rc2 core on solaris
- >--- called from signal handler with signal 11 (SIGSEGV) ---
> ...
This may be re-occurrence of [Bug #7591] which is a GC issue.
How about the attached workaround patch?
-
02:50 PM Revision a0afa57e (git): * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
- fix a typo in comment in r39384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:53 PM Bug #7910 (Rejected): ruby untared with --touch requires --with-baseruby
- What's the motivation to touch?
Tarballs include files generated at packaging, so there are some dependencies. -
12:37 PM Bug #7910 (Rejected): ruby untared with --touch requires --with-baseruby
- So this flow works (logs: https://gist.github.com/anonymous/0251d407026fa3530f17):
tar xjf ~/.rvm/archives/ruby-1.9.3-p385.tar.bz2 --strip-components=1
autoreconf 2>&1 | tee /tmp/1.9.3-autoreconf.log
./configure --prefix ~/tmp/ruby-... -
12:21 PM Feature #7906 (Rejected): Giving meaning to ->foo
- See #7907
-
11:47 AM Feature #7906: Giving meaning to ->foo
- It doesn't seem a good idea to me, because "foo" has different meanings, parameter and method name.
-
03:07 AM Feature #7906: Giving meaning to ->foo
- Please fix. Sigh.
-
03:05 AM Feature #7906 (Rejected): Giving meaning to ->foo
- =begin
I noticed that "(({->word}))" doesn't mean anything. i.e.
>> ->foo
SyntaxError: (irb):4: syntax error, unexpected '\n', expecting keyword_do_LAMBDA or tLAMBEG
from /opt/Ruby/1.9.3-p327/bin/irb:12:in `<main>'
If... -
12:11 PM Feature #6688 (Rejected): Object#replace
- I think Smalltalk experience has proven that Object#replace is a bad bad idea.
Matz.
-
11:36 AM Bug #7902 (Closed): The test suite does not honor configuration options
- This issue was solved with changeset r39372.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_rbconfig.rb: honor configuration options
* test/test_rbconfi... -
11:32 AM Bug #7897 (Closed): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- Then RubyGems breaks mkmf.rb's Makefile and Murata-san's patch fixes it.
Thank you for checking! -
10:35 AM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- It caused by r38864, which removes timestamp files in dependency rules.
Now mkmf uses those files to fix parallel make issues. -
07:20 AM Bug #7897 (Assigned): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
-
07:12 AM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- As Vit Ondruch has noted, it seems to be a bug in the Makefile generated by mkmf.rb as ruby 1.9.3 without Murata-san's patch correctly installs lib/msgpack.bundle.
Nobu, can you check it?
Just to be safe, I committed Murata-san's p... -
07:05 AM Bug #7897 (Closed): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- This issue was solved with changeset r39366.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/installer.rb (build_extensions): Create extensio... -
10:59 AM Feature #7704: Add a list of enabled (experimental) language features.
- I can only second Yui and Matthew. Directly checking is possible because Ruby is a dynamic language, it avoids management overhead, and tests on the actual feature, not some intention that may be out of sync with actual facts. There are ...
-
10:51 AM Feature #7876: Add method for accessing Class from within Singleton Class
- This should be possible with Module#ancestors. Maybe not totally slick, but possible.
-
10:46 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
- ko1 (Koichi Sasada) wrote:
> marcandre: why you remove assignee?
> ...
Exactly.
-
08:57 AM Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
- marcandre: why you remove assignee?
you mean specification discussion was finished at [ruby-core:52386]#5?
I assume the reason and I assign this ticket nobu, the patch monster.
- 10:22 AM Revision 11d79c68 (git): merge revision(s) 39384:
- * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
new attribute to read/write entity expansion text limit. the default
limit is 10Kb.
* lib/rexml/text.rb (REXML::Text.unnormalize): check... - 09:37 AM Revision e559b24b (git): merge revision(s) 39384:
- * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
new attribute to read/write entity expansion text limit. the default
limit is 10Kb.
* lib/rexml/text.rb (REXML::Text.unnormalize): check... - 09:35 AM Revision 1ad90757 (git): * lib/rexml/document.rb (REXML::Document.entity_expansion_text_limit):
- new attribute to read/write entity expansion text limit. the default
limit is 10Kb.
* lib/rexml/text.rb (REXML::Text.unnormalize): check above attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39384 b2dd03c8-39d4-4d8f-98... -
09:29 AM Bug #7829: Rounding error in Ruby Time
- On Feb 20, 2013, at 11:17 AM, David MacMahon wrote:
> Interestingly, Ruby 1.9 has String#to_r which leads to this::
>
>>> Time.utc(1970,1,1,0,0,12.86.to_s.to_r).strftime("%H:%M:%S,%L")
> => "00:00:12,860"
Even more interesting... -
09:23 AM Bug #7829: Rounding error in Ruby Time
- On Feb 20, 2013, at 10:57 PM, Tanaka Akira wrote:
> I hope people supports mrkn's proposal:
> http://www.slideshare.net/mrkn/float-is-legacy
>
> The proposal fixes this issue and abolish unintuitiveness of float literal.
It is... -
09:27 AM Feature #7548: Load and Require Callbacks
- I'm sorry I don't catch up this discussion.
I assigned this ticket to matz, but I'm not sure matz is good person to handle it.
Please correct me.
# Basically, I agree with this proposal.
-
09:18 AM Feature #7748: Contextual send
- =begin
What I did was allowing ((%send%)) to invoke public method when called without explicit receiver.
And I gave up the idea because (a) it made send behavior more complex, (b) it slightly slowed down #send, (c) it was difficult t... -
09:10 AM Feature #7748: Contextual send
- I think matz tried it.
Matz: Could you give us your knowledge?
-
09:17 AM Feature #5528 (Closed): OO API for tracing
- TracePoint was introduced.
-
09:15 AM Feature #7596: Find::find should not silently ignores errors
- I'm not sure who can grab this ticket.
So I assign it to matz.
-
09:07 AM Feature #7767: Tempfileで自動的にファイルを削除する
- 誰にアサインすればわからなかったのですが、
詳しそうな田中さんにアサインさせて頂きます。 -
08:59 AM Bug #7898 (Feedback): Ruby tells me to report this bug
-
08:47 AM Bug #7898: Ruby tells me to report this bug
- The first half of this error log was lost.
Could you try again?
> For details: http://www.ruby-lang.org/bugreport.html
-
08:48 AM Bug #7881: Windows でパスに日本語を含むスクリプトからの require が失敗する
- usa さんか naruse さんかわからなかったんですが、とりあえず usa さんへアサイン。
-
08:37 AM Revision 7dd6e08b (git): * test/test_rbconfig.rb (TestRbConfig): fix r39372.
- It must see RbConfig::CONFIG instead of CONFIG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:00 AM Bug #7893 (Rejected): Issues with loading YAML and respond_to_missing?
- As Hanmac noted, this exception is possible with Person.allocate.respond_to? which is exactly what Psych does.
Perhaps Psych needs some documentation improvement around dump and load. -
06:08 AM Bug #7899 (Closed): Add feature similar to: perl use warnings
- Use $VERBOSE or $-w:
$ cat test.rb
"".gsub /x/, ''
$ ruby19 -wv test.rb
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.1]
test.rb:1: warning: ambiguous first argument; put parentheses or even spaces
... -
06:02 AM Revision c84a9acb (git): * signal.c (ruby_abort): fix typo in r39354 [Bug #5014]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:50 AM Revision 857a2cee (git): * vm.c (vm_exec): get rid of a SEGV when calling rb_iter_break() from
- some extention libraries. [Backport #7896] [ruby-core:52607]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:45 AM Revision 0bf5cc03 (git): [Backport #7851]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:42 AM Revision c8f2479c (git): merge revision(s) 32688,33309,33408,33864,35874,38012: [Backport #7832]
- * vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused
variables.
* vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that
`volatile type *var' doesn't make var itself volatile.
* vm_... - 05:28 AM Revision 18488c11 (git): merge revision(s) 34982: [Backport #5218]
- * eval_jump.c (rb_exec_end_proc): remember the latest exit status.
[ruby-core:43173][Bug #5218]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:27 AM Revision bdcd3d62 (git): merge revision(s) 36130: [Backport #5023]
- * ext/readline/readline.c (Init_readline): don't set 0 to
rl_catch_signals and rl_catch_sigwinch. [Bug #5423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:46 AM Revision 3f2ce637 (git): random.c: fix error message
- * random.c (rb_random_ulong_limited): fix error message for negative
value. [ruby-dev:47061] [Bug #7903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 AM Revision e51a9b49 (git): test_process.rb: fix parameters
- * test/ruby/test_process.rb (test_{,a}spawn_too_long_path): fix
missing parameters in r38934.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Revision 2027a052 (git): * test/ruby/test_process.rb: remove useless sleep.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:37 AM Revision 839ae05e (git): * tool/mkrunnable.rb: refactor and multiarch support.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:36 AM Revision 20fa7324 (git): test_rbconfig.rb: honor configuration options
- * test/test_rbconfig.rb (TestRbConfig): skip user defined values by
configuration options. [Bug #7902]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:33 AM Revision b9ef804f (git): mkmf.rb: adjust default library path
- * lib/mkmf.rb (MakeMakefile#init_mkmf): adjust default library path
for multiarch. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 AM Revision d2c218d5 (git): * enum.c (Enumerable#chunk: Improved examples, grammar, and formatting
- Patch by Dan Bernier and Rich Bruchal of newhaven.rb
[Github documenting-ruby/ruby#8]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 AM Revision 8d4a11c9 (git): * numeric.c: Examples and formatting for Numeric and Float
- Based on a patch by Zach Morek and Oren K of newhaven.rb
[Github documenting-ruby/ruby#5]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 AM Revision d0a41317 (git): un.rb: suppress warning
- * lib/un.rb (wait_writable): show error messages only if -v is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 AM Revision cc367fb3 (git): configure.in: quite conftest
- * configure.in (rb_cv_broken_backtrace): suppress extra output from
conftest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/21/2013
-
11:49 PM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- I guess this regression was introduced in r37016 by dropping this line [1] in mkmf. Not sure what was the intention, since creating directory seems unrelated to the timestamp dependencies IMO
[1] https://github.com/ruby/ruby/commit/... -
05:04 PM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- I'm sorry, the previous patch is wrong.
The following is right.
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 0865a6d..e5a5e0e 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -... -
05:03 PM Bug #7897: rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- The following patch fixes this problem.
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb
index 0865a6d..b8a6d2b 100644
--- a/lib/rubygems/installer.rb
+++ b/lib/rubygems/installer.rb
@@ -672,6 +672,7 @@ TEXT
... -
04:41 PM Bug #7897 (Closed): rubygems 2.0 has an incompatibility about installation of extension libraries if gem package does not contain lib directory
- Hi,
rubygems 2.0 has an incompatibility about installation of extension libraries.
If a gem package does not contain lib directory,
an extension library file is copied as a file named "lib".
You can reproduce this problem by in... -
11:23 PM Feature #7883: Add Regex#to_proc
- judofyr (Magnus Holm) wrote:
> > ~~~ruby
> ...
cool! -
10:36 PM Feature #7883: Add Regex#to_proc
- Nice one, +1 on it as well.
-
10:14 PM Bug #7902 (Closed): The test suite does not honor configuration options
- =begin
Rev 39201 and 39201 introduced new test cases, which fails for me:
# make test-all TESTS="test/test_rbconfig.rb"
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexcep... -
10:05 PM Revision ac4da20a (git): * lib/rubygems/installer.rb (build_extensions): Create extension
- install destination before building extension. Patch by Kenta Murata.
[ruby-trunk - Bug #7897]
* test/rubygems/test_gem_installer.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39366 b2dd03c8-39d4-4d8f-98... -
09:50 PM Bug #7874: multiarch support enhancements
- Hi,
With the current state in trunk it does not build anymore:
$ autoreconf && ./configure --target=x86_64-linux-gnu --enable-multiarch
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: c... -
06:11 PM Bug #7874: multiarch support enhancements
- Others are libdir concerned patches, and I think they are not stable enough to backport yet.
-
10:15 AM Bug #7874: multiarch support enhancements
- thanks!
-
09:31 PM Revision 6b88b523 (git): * doc/globals.rdoc: Document what setting $DEBUG does.
- * doc/globals.rdoc: Added pointer to $-d for full documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:27 PM Revision 9c49b69d (git): * doc/globals.rdoc: Document what setting $VERBOSE does. [Bug #7899]
- * doc/globals.rdoc: Added pointer to $-w and $-v for full
documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:53 PM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- On Thu, Feb 21, 2013 at 5:47 PM, SASADA Koichi <[email protected]> wrote:
> I think it is reasonable.
>
> (3) Separate Exception#bactrace and Exception#backtrace_locations
> Problems:
> (3-p1) which should output as an error b... -
03:53 PM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- (2013/02/21 8:50), Charles Oliver Nutter wrote:
> On Thu, Feb 21, 2013 at 8:36 AM, SASADA Koichi <[email protected]> wrote:
>> I want to agree with you. But I feel there are worries.
>
> How about #backtrace/#set_backtrace and
> ... -
08:53 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- On Thu, Feb 21, 2013 at 8:36 AM, SASADA Koichi <[email protected]> wrote:
> I want to agree with you. But I feel there are worries.
How about #backtrace/#set_backtrace and
#backtrace_locations/#set_backtrace_locations are completel... -
06:53 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- (2013/02/21 6:02), headius (Charles Nutter) wrote:
> I propose that if you set_backtrace, you are already breaking the ability to get structured Location elements, so set_backtrace should cause backtrace_locations to return nil or an... -
06:02 AM Feature #7895 (Open): Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- Thread#backtrace_locations and Kernel#caller_locations were added in Ruby 2.0.0, but no equivalent method was added to Exception to get backtrace locations. The String format of Exception#backtrace elements makes it difficult to do any i...
-
08:23 PM Bug #7899 (Closed): Add feature similar to: perl use warnings
- <maasha> shevy: It would be nice ruby had a way to enable warnings within the code - like perl's `use warnings;`
Hi,
Background to this is that maasha had problems with shebang, /usr/bin/env and "ruby -w" as part of the shebangs.... -
08:09 PM Bug #7778 (Rejected): Irb loading generates 17x more open/stat system calls when a locale is set
-
07:55 PM Bug #7898 (Closed): Ruby tells me to report this bug
- rvm: rvm 1.17.6 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
ruby: ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]
rails: Rails 3.2.11
Please see the attachmen... -
05:39 PM Revision 37400173 (git): commit miss
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:35 PM Revision 7ceb1884 (git): * lib/abbrev.rb: Add words parameter to Abbrev::abbrev
- Patch by Devin Weaver [Github documenting-ruby/ruby/#7]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 PM Bug #7867 (Closed): enable-multiach installs pkgconfig file into wrong dir
-
10:15 AM Bug #7867: enable-multiach installs pkgconfig file into wrong dir
- Hi, this issue got fixed as part of #7874 and can be closed.
-
03:59 PM Bug #7829: Rounding error in Ruby Time
- 2013/2/21 loirotte (Philippe Dosch) <[email protected]>:
> irb(main):001:0> Time.utc(1970,1,1,0,0,12.860).strftime("%H:%M:%S,%L")
> => "00:00:12,859"
>
> gives an unexpected intuitive result. If I do understand some time travel s... -
04:23 AM Bug #7829: Rounding error in Ruby Time
- On Feb 20, 2013, at 7:46 AM, loirotte (Philippe Dosch) wrote:
> Typing this instruction:
>
> irb(main):001:0> Time.utc(1970,1,1,0,0,12.860).strftime("%H:%M:%S,%L")
> => "00:00:12,859"
>
> gives an unexpected intuitive result.
... -
12:46 AM Bug #7829: Rounding error in Ruby Time
- david_macmahon (David MacMahon) wrote:
> On Feb 12, 2013, at 12:51 AM, loirotte (Philippe Dosch) wrote:
> ...
Once again, more documentation about this behavior is a good thing, but I'm really not sure that this is the best solution fo... - 03:18 PM Revision 254dc20a (git): * 2013-02-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 PM Revision 14ffaac4 (git): * ChangeLog: fix a typo for r39352.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:31 PM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
- nobu (Nobuyoshi Nakada) wrote:
> Quick patch.
> ...
Does a list of these new 2.0 GC-safe functions exist anywhere?
If the 2.0 GC-safe functions aren't currently enumerated in a single, accessible place, should they be listed in a ne... -
11:35 AM Feature #6688: Object#replace
- =begin
Even if this idea of Proxy/Proxy#become isn't deemed suitable for core, is it still possible to do it as a 3rd party extension? I took a stab at it with:
#include <ruby.h>
VALUE cProxy;
/* call-seq:
* proxy.b... -
03:00 AM Feature #6688: Object#replace
- =begin
I have idea for less dangerous form of become.
I am working with a parser that supports object references. It is difficult b/c children of a given object might reference the parent, creating circular structures. So you can't ... -
09:19 AM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
- > Chris White, Jon Forums,
> ...
mame-san...ruby_2_0_0@39344 solves these recent issues on my `x86_64-linux` (ubuntu server 12.10) machine. I will build `i686-linux` later tonight and report back if any errors.
* `exec_prefix` regr... -
05:24 AM Bug #7860: Passing --libdir to ./configure causes Gem.ruby to point to an incorrect ruby interpreter path
- I don't know enough about autoconf to understand the fix.
I don't believe it will cause any problems with RubyGems though. -
08:31 AM Revision e525bcd1 (git): Add test for [Backport #7896] [ruby-core:52607]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:31 AM Revision 45dcceaa (git): * tool/merger.rb: add interaction when only ChangeLog is modified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:35 AM Revision 654a3632 (git): revert duplicate ChangeLog.
- r39308 was already merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:34 AM Revision 087e888a (git): signal.c: extract check_stack_overflow
- * signal.c (check_stack_overflow): extract duplicated code and get rid
of declaration-after-statement. [Bug #5014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Revision 901f44d1 (git): merge revision(s) 39308:
- * vm_eval.c (vm_call0_body): check interrupts after method dispatch
from C methods. [Bug #7878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:56 AM Feature #7435: Exceptions should have backtrace_locations
- I wish I had seen this before 2.0.0!
Perhaps set_backtrace should just cause backtrace_locations to return an empty array?
I really, really wish backtrace_locations had gotten into 2.0.0, so let's try to make this happen for 2.1. -
05:18 AM Revision 7355c6d9 (git): * signal.c (sigsegv): avoid to use async signal unsafe functions
- when nested sigsegv is happen.
[Bug #5014] [ruby-dev:44082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:52 AM Revision 8a9dc061 (git): * file.c (rb_group_member): added an error check. SUS says,
- getgroups(small_value) may return EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:41 AM Revision e93a68ab (git): * file.c (RB_MAX_GROUPS): moved to
- * internal.h (RB_MAX_GROUPS): here.
* file.c (rb_group_member): use RB_MAX_GROUPS instead of
RUBY_GROUP_MAX. They are the same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:41 AM Revision 1cda6e39 (git): * file.c (access_internal): removed.
- * file.c (rb_file_readable_real): use access() instead of
access_internal().
* file.c (rb_file_writable_real): ditto.
* file.c (rb_file_executable_real): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39351 b2dd03c8-39d4-4d8... -
04:41 AM Revision ba37db04 (git): * file.c (eaccess): use access() when not using setuid nor setgid.
- This is minor optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:40 AM Revision 7c465090 (git): * file.c (rb_group_member): get rid of NGROUPS dependency.
- [Bug #7886] [ruby-core:52537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Revision 74016f18 (git): ruby.c: fix for multiarch library
- * ruby.c (ruby_init_loadpath_safe): try two levels upper for stripping
libdir name. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:42 AM Revision 739c8ffc (git): configure.in: expand libdir_basename
- * configure.in (libdir_basename): expand with multiarch in configure,
not to defer the expansion till ruby.pc.in and mkmf.rb. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 AM Bug #7200: Setting external encoding with BOM|
- #set_encoding accepts ("bom|utf-16be:euc-jp") but rejects ("bom|utf-16be", "euc-jp"). This is inconsistent, confusing, and has nothing to do with the artificial mode vs encoding justification above. This inconsistency requires additional...
-
03:02 AM Bug #7894 (Feedback): Ruby mswin target does not build
- Please provide the exact output and the context around the build failure.
Also provide details of the compiler version that you're using (cl /?) and the version of nmake too.
The output log will be more helpful than the analysis of... -
02:33 AM Bug #7894 (Closed): Ruby mswin target does not build
- Building Ruby using nmake fails. Perhaps the nmake target (mswin) isn't supported anymore?
Here's what I've attempted:
1) I've installed ruby using a download from the ruby installer project (http://rubyinstaller.org/downloads/). H... - 12:51 AM Revision cb71fee8 (git): * 2013-02-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 AM Revision 22b51faf (git): configure.in: libdir_basename for -rpath and -install_name
- * configure.in (libdir_basename): also -rpath and -install_name flags
are affected when libruby directory changes. [Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e