Activity
From 05/15/2012 to 05/21/2012
05/21/2012
-
10:33 PM Bug #6432 (Assigned): Segmentation fault after "linking miniruby"
- Hello, sorah-kun
Can you reproduce this issue?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:08 PM Feature #6452: Allow extend to override class methods
- Yeah, sorry I should have thought about this before.
You're right, for normal usage the current behavior is more useful indeed.
I was willing to patch a class from a third-party library, that is why I wanted my module method to tak... -
08:11 PM Feature #6452: Allow extend to override class methods
- Hello,
2012/5/19 rosenfeld (Rodrigo Rosenfeld Rosas) <rr.rosas@gmail.com>:
> Would you mind to explain why the current behavior is useful instead of doing what I'm proposing?
Just example:
module GenericConnection
def co... -
08:59 PM Feature #6445 (Assigned): request for default length/position on string index
- Hello,
I created a patch that add a syntactic sugar from (arg..) to (arg..-1).
ary = [1, 2, 3, 4]
p ary[2..] #=> [3, 4]
Matz, what do you think?
diff --git a/parse.y b/parse.y
index 9f9093b..d272492 100644
--- a/par... -
08:34 PM Feature #6470 (Assigned): Make attr_accessor return the list of generated method
- This duplicates #6198.
BTW, why don't you use instance variables directly? That is:
```ruby
class Something
def initialize(user, action)
@user = user
@action = action
end
def public_method
@user.do_som... -
08:20 PM Bug #6454 (Assigned): Anonymous classes should delete tmp_classpath on dup
- Aaron, you'd better think we are really lazy :-)
It would be good not only to attach a demonstration patch but also
to write the demonstration in the mail.
x = Class.new
y = x.dup
p x #=> #<Class:0x9a96ce0>
p y #=> ... -
08:11 PM Bug #6453: parallel build issue
- This might be an issue of our build infrastructure (NFS). Sorry for the noise.
-
08:43 AM Bug #6453 (Rejected): parallel build issue
- As we repeatedly told you, PPC on RHEL is not supported platform. We just don't care if a ticket don't have a patch. Moreover you shouldn't send us distro specific build log (i.e. rpm).
At least, now parallel build on x86 RHEL6 works... -
07:24 PM Bug #6456 (Assigned): [readline] Readline.point when history edited
-
07:24 PM Bug #6455 (Assigned): IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
-
07:24 PM Bug #6473 (Assigned): Enumerable#count
- Hello, drbrain
This is a doc issue of Enumerable#count.
Could you check and import Nobuhiro's patch?
English translation:
The rdoc of Enumerable#count says:
Returns the number of items in <i>enum</i> if it responds to a ... -
03:19 PM Bug #6473: Enumerable#count
- 最終的に r25603 で size は呼ばなくなったようなので、コメントを修正したパッチを添付します。
改行位置の関係で行数が多いですが、内容は1文目しか変更してません。
- 03:47 PM Revision 9c46e774 (git): * 2012-05-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision f9217681 (git): * struct.c (rb_struct_members): Refactoring. As Struct#members had
- returned an array of String, the old code was needed to convert
Symbols to Strings. But it is almost unnecessary because the
method now returns an array of Symbols. A patch by Masaki
Matsushita <glass.saga at gmail dot com> [Fea... -
02:03 PM Revision 2f6c48e5 (git): OpenSSL 1.0.1 pre-beta disabled TLS v1.2 by default.
- http://cvs.openssl.org/chngview?cn=21471
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 PM Revision 915cbd05 (git): merge revision(s) 33944:
- * io.c: suppress unused-value warnings. fixup of r33937.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 PM Revision f6fb038d (git): * lib/net/ftp.rb (Net::FTP#retrbinary): close only if conn is not nil
- because transfercmd may fail and return nil.
* lib/net/ftp.rb (Net::FTP#retrlines): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 AM Bug #6474 (Closed): Substitution bug in String # gsub
- As Mike said backslashes are escaped in double-quoted strings.
-
08:48 AM Revision acb10b8c (git): Rescue exception from writing to a socket.
- conn.print may raise EPIPE because ftp.retrbinary closes the connection
because of read_timeout. but the exact result varies from the situation
like platform, timing, and so on.
it may raise ECONNRESET, ECONNABORTED, EOFError, or nothing... -
07:36 AM Revision e7ce7713 (git): lib/test/unit.rb: not override job_status option
- * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not override
job_status option if no tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:35 AM Revision c869f69c (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:35 AM Revision b0901e0f (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@35746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:32 AM Revision 1c816778 (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:32 AM Revision 5968c595 (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:29 AM Revision 2c7e082f (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:28 AM Revision ccb34ee9 (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:24 AM Revision 72aa68b0 (git): merge revision(s) 35738:
- * ext/syslog/syslog.c (mSyslog_inspect): Use rb_sprintf().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:24 AM Revision d5ba54a5 (git): merge revision(s) 35737:
- * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:22 AM Bug #6475 (Assigned): Fix decryption example in OpenSSL docs
-
02:17 AM Bug #6475: Fix decryption example in OpenSSL docs
- Attached patch
-
02:16 AM Bug #6475 (Closed): Fix decryption example in OpenSSL docs
- The code example in the "Decryption" section of the OpenSSL docs shows ciphertext being decrypted with the same key used to encrypt it. Instead, decryption should be done with the other key in the pair. I've verified that the sample code...
- 07:18 AM Revision 05b26a85 (git): * ext/syslog/syslog.c: Classify constants and macros into several
- sub-modules. (Syslog::Priority, Syslog::Level, Syslog::Option
and Syslog::Macros)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:18 AM Revision 28fc3689 (git): * ext/syslog/syslog.c (mSyslog_inspect): Use rb_sprintf().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:18 AM Revision 1b84082a (git): * ext/syslog/syslog.c (mSyslog_inspect): Make sure self is a
- module before calling rb_class2name().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Revision 9c14029f (git): lib/test/unit.rb: simple ouput if verbose
- * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): use simple
output if verbose mode and no job-status option given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Revision 51a929c6 (git): * .travis.yml (install): It seems tcl/tk is skipped in Travis
- CI. Trying to fix the situation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision fb2e6803 (git): enc: fix dependencies
- * enc/depend (ENCOBJS): add dependencies.
* enc/make_encmake.rb (target_encodings): extract dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:27 AM Revision 52f0c678 (git): * lib/net/ftp.rb (Net::FTP#transfercmd): rescue shutdown.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/20/2012
-
10:53 PM Bug #6474: Substitution bug in String # gsub
- Maybe you are bing confused by the way irb displays results as double quoted strings. If you explicitly use puts:
ratdog:~ mike$ irb
1.9.3-p125 :001 > s = 'a&b'
=> "a&b"
1.9.3-p125 :002 > puts s.gsub '&', '\&'
a&b
=> nil
1... -
10:19 PM Bug #6474 (Closed): Substitution bug in String # gsub
- Hi,
I need to replace all occurences of & with \& in a String (generating LaTeX input).
However, gsub has a problem with unescaping the \ character in the replacement string:
irb(main):001:0> "a&b"
=> "a&b"
irb(main):002:0>... -
10:32 PM Bug #6450 (Closed): Shift JIS で String#tr の範囲指定がおかしい
- This issue was solved with changeset r35724.
5, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enc/shift_jis.c (code_to_mbclen): return
ONIGERR_INVALID_CODE_PO... -
09:56 PM Revision d795f2d1 (git): Shutdown gracefully.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:04 PM Feature #6472 (Third Party's Issue): Multiline mode in regexp by default
- Not a bug at least. Regexps are working as expected.
Ruby won't prevent you shooting your foot. -
06:19 PM Feature #6472: Multiline mode in regexp by default
- In Ruby there is no multiline flag, regexps in Ruby are always in multiline mode. See http://advogato.org/person/fxn/diary/498.html for some gotchas regarding regexp flags in Perl vs Ruby.
In Ruby, you need to use \A and \z (or \Z) to... -
05:33 PM Feature #6472 (Third Party's Issue): Multiline mode in regexp by default
- When using regexp there can be a vulnerability:
http://homakov.blogspot.com/2012/05/saferweb-injects-in-various-ruby.html#more
Probably it happens because multiline mode in regexp is default, but this is wrong. Need use 'm' modif... -
06:36 PM Bug #6473 (Closed): Enumerable#count
- =begin
Enumerable#count には、
Returns the number of items in <i>enum</i> if it responds to a #size call,
otherwise the items are counted through enumeration. If an argument is
というコメントが書いてありますが、実際には
class E
include Enumer... -
04:16 PM Feature #6470: Make attr_accessor return the list of generated method
- Yes, they are public.
If I understood them correctly, they are the same as this in pure ruby code:
```ruby
attr_accessor :foo
def foo
@foo
end
def foo=(i)
@foo = i
end
```
I found that I personally only need `att... -
01:54 PM Feature #6470: Make attr_accessor return the list of generated method
- Aren't accessors public by definition? If you want them to be private use attr.
-
08:29 AM Feature #6470 (Closed): Make attr_accessor return the list of generated method
- attr_accesor currently returns nil. It would be more helpful if it return list of generated methods so that it can become an argument to other methods like :private or :protected. That way private accessors can still be defined at top of...
-
04:13 PM Feature #6444: alias for String#index
- #find already exists in Enumerable. I don't think it is a good choice.
#pos is not really a proper english word. You probably meant #position.
You can however always extend class String on your own and add these methods. -
03:58 PM Revision 03570f80 (git): ext/extmk.rb: workaround for -framework option
- * ext/extmk.rb (extmake): assume non-option words are arguments.
workaround for -framework option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:58 PM Revision f244f525 (git): * 2012-05-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:58 PM Revision 78990343 (git): lib/test/unit.rb: not overwrite options itself
- * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not overwrite
options itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 PM Revision 3f6ec3dd (git): * ChangeLog: fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 PM Revision e95d6903 (git): ext/extmk.rb: reopen stdout
- * ext/extmk.rb (extmake): reopen $stdout to NULL, since setting
$stdout cannot affect child processes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 PM Revision 2dc01a5f (git): ext/extmk.rb: Shellwords.join
- * ext/extmk.rb (system): use Shellwords.join.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:00 PM Revision ea0c3a88 (git): ruby.c: fixed typo
- * ruby.c (Init_enc): fixed typo. defined in dmyext.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:32 PM Revision 2053b5f4 (git): * enc/shift_jis.c (code_to_mbclen): return
- ONIGERR_INVALID_CODE_POINT_VALUE if the code is invalid.
* enc/shift_jis.c (tr_next): increment character until the code
is a valid character. [ruby-dev:45652] [Bug #6450]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35724 b2dd0... -
12:25 PM Bug #6462 (Closed): Broken build under MinGW due undefined references
- This issue was solved with changeset r35722.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Bug #6462: EXTSOLIBS
* Makefile.in (LIBRUBY_SO): link EXTSOLIBS ... -
06:03 AM Bug #6462: Broken build under MinGW due undefined references
- =begin
The issue seems to be caused by the override of SOLIBS when --enable-shared is used to build Ruby:
https://github.com/ruby/ruby/blob/trunk/ext/extmk.rb#L665-668
By doing that, system libraries defined by LIBS (which later... -
04:37 AM Bug #6462: Broken build under MinGW due undefined references
- =begin
After git bisect was done, I can confirm that r35709 (SHA1 0e60b2c6a3c5152fc4ff06054a4ae79edadf9276) introduced the breakage:
commit 0e60b2c6a3c5152fc4ff06054a4ae79edadf9276
Author: nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe6... -
12:50 AM Bug #6462 (Closed): Broken build under MinGW due undefined references
- Attempt to compile latest trunk (r35721) result in the following errors:
-
07:58 AM Bug #4387 (Feedback): test_socket_connect_nonblock(TestSocketAddrinfo) がまれに失敗する
- [ruby-list:38139] にもスレがありますね。
まとめると、
1. connect_nonblock を呼ぶ
2.1. ECONNREFUSED が返る (localhost など結果が瞬間的に返る場合)
2.2.1. EINPROGRESS が返る
2.2.2. select で待つ→成功か失敗に収束
2.2.3.1. EISCONN が返る (成功)
2.2.3.2. EINVAL が返る (失敗)
って事のようです。
ここで EI... -
05:29 AM Bug #6408: DelegateClass#eql? and <=> don't work as expected - On Thu, May 17, 2012 at 12:10:56AM +0900, mame (Yusuke Endoh) wrote:
>
> Issue #6408 has been updated by mame (Yusuke Endoh).
>
> Status changed from Open to Assigned
> Assignee set to tenderlovemaking (Aaron Patterson)
> Target... - 03:25 AM Revision 44faaf11 (git): * 2012-05-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 AM Revision a906a9d9 (git): Bug #6462: EXTSOLIBS
- * Makefile.in (LIBRUBY_SO): link EXTSOLIBS too.
* ext/extmk.rb (mf.macro): use EXTSOLIBS instead of SOLIBS to get rid
of discard libraries needed by default. [Bug #6462]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35722 b2dd03...
05/19/2012
-
10:54 PM Feature #6435: Break up net/http.rb into individual files
- I agree
-
05:06 PM Bug #6460 (Closed): `unexpected return' occurs when a proc is called in ensure
- =begin
辻本です。
Bug #2729, #5234 の続きのような話になりますが
以下のコードでunexpected returnとなります。
class C
def each
begin
yield :foo
ensure
1.times { Proc.new }
end
end
def detect
each{|e|
... -
11:22 AM Bug #6456 (Third Party's Issue): [readline] Readline.point when history edited
- =begin
以下のように、履歴をたどって編集した時に Readline.point の値がおかしくなるようです。
require "readline"
RUBY_DESCRIPTION # => "ruby 2.0.0dev (2012-05-19 trunk 35705) [x86_64-linux]"
Readline::VERSION # => "6.2"
IO.pipe do |r, w|
Readline.inpu... -
10:23 AM Bug #6455 (Closed): IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb が起動できないのを修正する
- るりまを書いている最中に気づいたのですが、IRB.conf[:RC_NAME_GENERATOR] と IRB.conf[:SAVE_HISTORY] を同時に設定すると irb の起動時にヒストリファイルの読み込みで例外が発生して irb が起動できません。
$ irb
/usr/lib/ruby/1.8/irb/ext/save-history.rb:77:in `exist?': can't convert nil into String (Typ... -
10:13 AM Revision 9373d915 (git): suppress unused-but-set-variable warnings
- * ext/curses/curses.c (window_cury, window_curx, window_maxy)
(window_maxx, window_begy, window_begx): suppress
unused-but-set-variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35721 b2dd03c8-39d4-4d8f-98ff-823fe6... -
10:04 AM Revision 15bf3182 (git): static-linked-ext: all linked ruby
- * ext/extmk.rb (command_output): ENCOBJS is needed for all linked
ruby, if --disable-shared and --with-static-linked-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:56 AM Bug #6454: Anonymous classes should delete tmp_classpath on dup
- This patch fixes the name of dup'd anonymous classes (and modules).
-
07:19 AM Bug #6454 (Closed): Anonymous classes should delete tmp_classpath on dup
- When an anonymous class is duped, it should delete tmp_classpath from the iv table so that subsequent calls to `inspect` on the duped class will have different results.
I've attached a test case to demonstrate the problem. -
08:37 AM Feature #6452: Allow extend to override class methods
- I'm not sure if prepend would have the same effect. I was expecting to call "super" in B and it would call A.a.
Does it make sense?
I don't really care if this would have another method name.
Would you mind to explain why the cu... -
08:31 AM Feature #6452 (Assigned): Allow extend to override class methods
- Hello,
rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Would this change be possible for 3.0?
Why don't you add a new method instead of changine an existing one?
What you want is allowed by a feature planned for Ruby 2.0 called
M... -
01:58 AM Feature #6452 (Assigned): Allow extend to override class methods
- ```
module A
def self.a
'a1'
end
end
module B
def a
'a2'
end
def b
'b'
end
end
A.extend B
assert A.a == 'a2' # this is the change I'm proposing - currently it is 'a1'
assert A.b == 'b'
```... -
08:30 AM Bug #6449: new does not call allocate, as advertized
- PS if you need something, tell us _why_ you need something.
In this case we prohibit (re)defining allocator beacuse we
believe redefining new should suffice all needs. If you
don't think so, please show the reason. -
08:24 AM Bug #6449 (Rejected): new does not call allocate, as advertized
- Yes it does. What's not permitted is to define your allocate method. It is for C extensions only.
-
08:12 AM Bug #6451 (Closed): Random crash when using Qt
-
03:59 AM Bug #6451: Random crash when using Qt
- Fixed it, please close it. Just made my app class be derived from Qt::MainWindow
-
01:43 AM Bug #6451: Random crash when using Qt
- By the way I am using Fedora 17 and i installed ruby-qt version 4.8.3-1.fc17 from repository.
-
01:38 AM Bug #6451 (Closed): Random crash when using Qt
- I am making a Bing Translator API Client using Ruby/Qt4. I have written some code already, but what i get is abort when i use the window. So I ran GDB and got some output. I will post it and my sources. I also have a core dump file(x86_64)
-
06:50 AM Bug #6405 (Closed): Re: [ruby-cvs:42717] ryan:r35541 (trunk): Imported minitest 2.12.1 (r7323)
- I obviously ran the tests, as stated in my commit:
Imported minitest 3.0.0 (r7435) w/ fixes for rubygems. 10955 tests, 2253343 assertions, 1 failures, 1 errors, 28 skips minus drb tests on x86_64-darwin11.3.0 and reviewed by drbra... -
06:02 AM Revision e9900867 (git): static-linked-ext: no ext/libext.a
- * configure.in: no ext/libext.a, an archive library cannot be made
from other archive libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:57 AM Revision a99bf256 (git): static-linked-ext: into libruby
- * ext/extmk.rb (command_output): dmyext is needed as DLDOBJS if no
static lined extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:42 AM Revision 5d43f34a (git): merge revision(s) 35451:
- * test/drb/drbtest.rb ({DRbCore,DRbAry}#teardown}: cannot pass SIGTERM
to another process on Windows, so use SIGINT instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35717 b2dd03c8-39d4-4d8f-98ff-823fe6... -
05:42 AM Revision e050fc1b (git): merge revision(s) 35434:
- * lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits.
OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512.
http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest
report... -
05:42 AM Revision ca27aa83 (git): merge revision(s) 35433:
- * test/drb/drbtest.rb: rescue Errno::ESRCH for Process.kill.
[ruby-dev:45551] reported by NARUSE, Yui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:41 AM Revision 28db2377 (git): merge revision(s) 35424:
- * lib/drb/extservm.rb (DRb::ExtServManager): don't use /bin/sh to
invoke service subprocess. mark detach threads for clean up.
* test/drb/drbtest.rb: clean up the service subprocess in teardown.
* test/drb/te... -
05:40 AM Revision 336c45ea (git): merge revision(s) 35422:
- * lib/drb/ssl.rb: close accepted TCP socket if SSL accept is failed.
[ruby-dev:45541]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:40 AM Revision 0ac2587d (git): merge revision(s) 33611:
- * lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 AM Bug #6344 (Feedback): 1.9.3 p125, p194 ruby causes SEGV with test_massign.rb on ppc/ppc64
- If anyone send me a feedback of ppc test result, I'll backport this.
-
04:59 AM Bug #6453 (Rejected): parallel build issue
- Hello,
During build of Ruby for PPC64 RHEL, the build failed. I have never met such build issue before, neither I can reproduce it again, but it seems to be caused by parallel make and some unsatisfied dependency. Please see attached ... -
03:44 AM Revision 08b15235 (git): no K&R style
- * enc/encinit.c.erb (Init_enc): no K&R style anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 AM Revision e546f716 (git): no K&R style
- * dmyext.c (Init_enc): no K&R style anymore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 AM Revision 0e60b2c6 (git): static-linked-ext: into libruby
- * Makefile.in, common.mk (PROGRAM): no extension libraries.
* common.mk (build-ext): pass macros for libruby.so.
* ext/extmk.rb (command_output): link extension libraries and encoding
libraries into libruby.so, not ruby executable.
g... -
02:36 AM Revision 1a6b07d7 (git): ext/extmk.rb: fold long macro
- * ext/extmk.rb (command_output): fold long macro lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 AM Revision 0a6700fe (git): use LIBEXT
- * Makefile.in (LIBEXT): add macro.
* configure.in (ENCOBJS, EXTOBJS): use LIBEXT, not hardcoded suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Revision 2278902a (git): fix typo
- * Makefile.in (LIBRUBY_A): fix typo. re-applying r35242.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:44 AM Bug #6450 (Closed): Shift JIS で String#tr の範囲指定がおかしい
- =begin
CP932(Windows-31J)は,第二バイトが 0x7F になる文字が存在しない仕組みになっていますが,以下の例のように,String#tr で範囲指定を使うと,そのような文字が存在するかのような動作になります。
# encoding: cp932
p "マミムメモ".tr("マ-モ", "マ-モ") # => "マミメモモ"
p "マミムメモ".tr("マ-モ", "マ-モ") # => "マミ\x83\x7Fムメ"
...
05/18/2012
-
11:51 PM Bug #6449 (Rejected): new does not call allocate, as advertized
- ruby 1.9.3p217 (2012-05-18 revision 35702) [x86_64-darwin10.8.0] (1.8 seems the same)
class C
def self.allocate
Kernel.exit(1)
end
end
C.new # => <C:...
C.allocate # terminates process
Expected C.new call to invok... -
07:51 PM Revision 54872dd7 (git): * ext/openssl/extconf.rb: Use Logging::message instead of message.
- * ext/zlib/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:47 PM Bug #6147 (Closed): should we check a result returned by fcntl?
- This issue was solved with changeset r35696.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (rb_thread_create_timer_thread): Added error... -
05:32 PM Bug #6344 (Closed): 1.9.3 p125, p194 ruby causes SEGV with test_massign.rb on ppc/ppc64
- This issue was solved with changeset r35694.
Mamoru, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c: bump up fiber machine stack size when running on 64bi... -
05:19 PM Feature #5185: Set#merge acts in place but Hash#merge does not
- =begin
As the topic is surprising behavior of (({Set})) methods, i propose to deprecate (({Set#+})) as an alias of (({Set#|})), and maybe use it later for the symmetric difference. (I think symbols like (({+})) and (({|})) are too preci... -
05:04 PM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
- Hi ko1,
This is because thread_join() is not designed reentrant. It can insert a thread twice join_list. And then, join_list
is going to become circular ring and it lead to deadlock.
So, I think th.join in trap context should rais... -
04:32 PM Bug #6420 (Closed): undefined local variable or method `parser' for URI::Generic:Class
- This issue was solved with changeset r35692.
Wes, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/uri/generic.rb (URI::Generic.build): duplicate args before a... - 04:22 PM Revision 5128c173 (git): * 2012-05-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:22 PM Revision 60945b61 (git): fix typos and spaces
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:35 PM Bug #6387 (Closed): 1.9.3p194 crashed on require in ubuntu
-
01:29 PM Bug #6387: 1.9.3p194 crashed on require in ubuntu
- I think we can close this ticket now
-
01:28 PM Bug #6387: 1.9.3p194 crashed on require in ubuntu
- I upgraded yard to its newest version. It seems to be working with p194 now.
-
01:29 PM Feature #5632: Attempt to open included class shades it instead. - > I would not want the class keyword without "< ParentClass" to inherit
> ...
Yes, that's correct when *creating* a new class. But I was not interested
in creating a class in my code. I just wanted to *open* the class inherited
from t... -
10:33 AM Feature #2348: RBTree Should be Added to the Standard Library
- I think that Ruby developers would definitely benefit from having a range of well-implemented data structures within reach. I don't understand why the implementation-revealing name is an issue when our most common options are already nam...
-
10:09 AM Feature #6444 (Feedback): alias for String#index
- Why do you want?
-
09:55 AM Bug #6447 (Rejected): Win32::Registry#keys always returns [] even if there are keys
- Yes, Jon is right.
-
05:12 AM Bug #6447: Win32::Registry#keys always returns [] even if there are keys
- I think it's a terminology thing, not a bug. Here's one more with subkey's containing values:
>> require 'win32/registry'
=> true
> ...
=> #<Win32::Registry key="HKEY_CURRENT_USER\\Software\\PDFCreator">
>> pdf.num_keys
=> 2
> ..... -
04:24 AM Bug #6447: Win32::Registry#keys always returns [] even if there are keys
- it's a value not a key, right?
>> puts RUBY_DESCRIPTION
ruby 1.9.3p211 (2012-05-12 revision 35630) [i386-mingw32]
=> nil
...
> ...
=> 3
>> screen_reg['last_init_config_was']
=> 3
> ...
=> 1
>> screen_reg.num_keys
=> 0
> ...
... -
03:57 AM Bug #6447: Win32::Registry#keys always returns [] even if there are keys
- does this also occur on 1.9.3p194 from rubyinstaller.org?
-
03:38 AM Bug #6447 (Rejected): Win32::Registry#keys always returns [] even if there are keys
- ex:
require 'win32/registry'
@screen_reg = Win32::Registry::HKEY_CURRENT_USER.create "Software\\os_screen_capture"; @screen_reg['last_init_config_was'] = 3
>> @screen_reg.keys
=> []
also each_key doesn't do anything, as well. The... -
09:21 AM Revision c9574876 (git): * version.h: bump up patchlevel.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:19 AM Revision 2c2b8637 (git): * version.h: bump up patchlevel.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:14 AM Revision 1e3c758b (git): * 2012-05-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:13 AM Revision ad36457b (git): * 2012-05-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:13 AM Revision 2641f1d1 (git): [ruby-dev:45650]
- * lib/mkmf.rb (MakeMakefile#configuration): keep space at end of
OUTFLAG and COUTFLAG. [ruby-dev:45650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 AM Revision d87f1fc2 (git): [ruby-dev:45650]
- * lib/mkmf.rb (MakeMakefile#configuration): keep space at end of
OUTFLAG and COUTFLAG. [ruby-dev:45650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 AM Revision 86988c7d (git): [ruby-dev:45650]
- * lib/mkmf.rb (MakeMakefile#configuration): keep space at end of
OUTFLAG and COUTFLAG. [ruby-dev:45650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@35698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 AM Revision 73ec5440 (git): [ruby-dev:45650]
- * lib/mkmf.rb (MakeMakefile#configuration): keep space at end of
OUTFLAG and COUTFLAG. [ruby-dev:45650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 AM Revision 469cc485 (git): decrease fiber stack size. 1MB is too large for windows. [Bug #6344]
- [ruby-dev:45554]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:47 AM Revision 1a2ef6ba (git): * thread_pthread.c (rb_thread_create_timer_thread): Added error
- check when failing fcntl(). [Bug #6147] [ruby-dev:45364]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 AM Revision c7c7dfd2 (git): ext/extmk.rb: link archives only
- * ext/extmk.rb (extmake): link archives only, skip script only
extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:32 AM Revision 5c567691 (git): * cont.c: bump up fiber machine stack size when running on 64bit
- arch. [Bug #6344] [ruby-dev:45554]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:26 AM Revision c196e22a (git): Revert r35684 "* trunk/ext/json/extconf.rb: remove fake file."
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 AM Feature #6440: 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
- (2012/05/18 1:39), Glass_saga (Masaki Matsushita) wrote:
> 現在のMarshalの形式では全体のサイズを知る方法がない為に、バッファを持とうとするとどうしても読み過ぎてしまいます。
> ungetcでは駄目となると、seekが可能なIOに対してのみバッファを持つようにして、最後にIO#seekで辻褄を合わせるというのはどうでしょうか。
> 高速化できるIOの種類が限られてしまいますが、互換性は崩さず... -
01:39 AM Feature #6440: 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
- なかださん、田中さん、レビューとご意見をありがとうございます。
現在のMarshalの形式では全体のサイズを知る方法がない為に、バッファを持とうとするとどうしても読み過ぎてしまいます。
ungetcでは駄目となると、seekが可能なIOに対してのみバッファを持つようにして、最後にIO#seekで辻褄を合わせるというのはどうでしょうか。
高速化できるIOの種類が限られてしまいますが、互換性は崩さずに済むと思います。 -
07:32 AM Revision 9381cd11 (git): * lib/uri/generic.rb (URI::Generic.build): duplicate args before adding
- new items. (don't change arguments)
* lib/uri/generic.rb (URI::Generic.build): use URI::Generic::COMPONENT
if this method is called from URI::Generic.
* lib/uri/generic.rb (URI::Generic.build2): escape only if the item is
a String.... -
07:02 AM Revision 69305da7 (git): * ext/zlib/extconf.rb: Use an exception instaed of bare puts.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:02 AM Revision 2e4645ca (git): * ext/psych/extconf.rb: Use an exception instaed of bare abort.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:02 AM Revision 6074032a (git): * ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:02 AM Revision 522627d5 (git): * ext/readline/extconf.rb: Use an exception instead of bare exit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:01 AM Revision 933b5ced (git): * ext/ripper/extconf.rb: Use an exception instead of bare
- Logging.message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 AM Revision 4e9a8809 (git): * ext/openssl/extconf.rb: Clarify a message when hit Apple
- OpenSSL issue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:19 AM Revision 899bf498 (git): * ext/extmk.rb: Show a message when extconf.rb raised an exception.
- * ext/openssl/extconf.rb: Use exception raising instead of message
and/or abort. We want to display error message to console _and_
logging into mkmf.log.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35685 b2dd03c8-39d4-4d8f-98f... -
06:14 AM Feature #5096 (Closed): offer Logger-compatibility for syslog ext
- This issue was solved with changeset r35682.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/syslog/lib/syslog/logger.rb: Added Syslog::Logger which wa... -
05:06 AM Revision d17b97ce (git): * trunk/ext/json/extconf.rb: remove fake file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:50 AM Revision 291f3a10 (git): * ext/extmk.rb (extmake): remove particular platform specific condition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/17/2012
-
11:33 PM Feature #5185: Set#merge acts in place but Hash#merge does not
- Adding #update is a good idea.
I would also add a warning to #merge stating that it's behaviour will change in a future version and to use #update instead. Then after a little while obsolete #merge altogether, but only for a bit, then... -
06:23 PM Feature #5185: Set#merge acts in place but Hash#merge does not
- I feel it's hard to change this by now since #merge is a library method (for subclasses) rather than just a user method, but I could add #update as an alias for #merge and then obsolete #merge which would eventually be end-of-life'd.
-
09:59 PM Feature #5096: offer Logger-compatibility for syslog ext
- D'oh, here it is.
-
06:08 AM Feature #5096: offer Logger-compatibility for syslog ext
- I think you forgot to attach the patch.
Your changes sound good, thank you for the review and update on my very (5 year) old code. -
05:14 AM Feature #5096: offer Logger-compatibility for syslog ext
- Oh, of course. I didn't carefully read the latest patch.
I've revised the implementation and the tests as attached.
Here's the list of what I changed:
- Reduced map constants. You shouldn't need this many.
- Changed Syslog:... -
09:14 PM Revision 8f231e1e (git): * ext/syslog/lib/syslog/logger.rb: Added Syslog::Logger which was
- ported from the SyslogLogger gem. [ruby-trunk - Feature #5096]
* NEWS: ditto.
* test/syslog/test_syslog_logger.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 PM Revision 4a7add1a (git): * ext/psych/parser.c (transcode_string): fix encoding index names.
- Thanks markizko for reporting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:13 PM Revision cc8ed44f (git): * 2012-05-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:13 PM Revision 11600478 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision 9310a593 (git): merge revision(s) 35109,35110,35651: [Backport #6385]
- * win32/win32.c (rb_w32_fstat, rb_w32_fstati64): convert FILETIME
to time_t directly, not to be affected by TZ unnecessarily.
* win32/win32.c (unixtime_to_filetime): convert time_t to FILETIME
simply.
git-s... -
02:05 PM Revision d9b578f4 (git): * ext/curses/curses.c (curses_pair_number): suppress 64-to-32 warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:04 PM Revision 7788d102 (git): fix NaCl support
- * configure.in: fix function name to be checked, to initialize
rb_thread_cond_t properly.
* thread_pthread.c (native_cond_initialize, native_cond_destroy):
fix macro name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35676 b2dd... -
01:27 PM Feature #6440: 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
- =begin
もう一点、(({s_getbyte}))も不要になるはずです。
=end
-
01:22 PM Feature #6440: 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
- =begin
細かい問題を修正すればいいんじゃないですかね。
* (({struct load_arg.buf}))のメモリリーク
* (({r_bytes1_partial()}))で(({readpartial}))での不足分を(({read}))で追加したときに((|tmp_ptr|))が不正
あとは感想をいくつか。
* (({arg->partial}))をフラグにするよりsymbolを持たせてはどうか
* (({r_bytes()}))と(({r_byt... -
12:57 AM Feature #6440 (Assigned): 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
- なんとなくなかださんに。
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:02 PM Feature #6445 (Assigned): request for default length/position on string index
- would be nice if ruby has default for "rest or up to end of string"
eg
"hello"[2,] => should default to "hello"[2..-1]
or
"hello"[2..] => should default to "hello"[2..-1]
-
01:00 PM Feature #6444 (Feedback): alias for String#index
- would be nice if there is an alias for String#index
possible names:
String#find
String#search
String#pos
-
12:20 PM Feature #1122: request for: Object#try
- =begin
: niquola (nicola ryzhikov) wrote:
If this is not very cryptic chain:
foo?bar(args)?buz
It's the ternary operator already in use.
=end
-
07:51 AM Feature #1122: request for: Object#try
- If this is not very cryptic chain:
foo?bar(args)?buz -
12:17 PM Feature #6442 (Feedback): CRUDify Hash class
- Patches welcome.
-
01:07 AM Feature #6442 (Feedback): CRUDify Hash class
- Ruby's Hash class is not very internally "connascent" --many different methods access the underlying data. There is no core set of specific methods that can be overridden to handle all cases. This leads to a very unDRY and bloated class ...
-
08:52 AM Feature #6388: Convert README to README.rdoc with formatting
- Since github is not the primary place people go to learn about ruby I think it is OK to keep "README" with no extension.
-
08:41 AM Feature #2567: Net::HTTP does not handle encoding correctly
- It actually occurs to me that I mis-read the passage quoted by naruse.
That passage is _discouraging_ heuristical guessing of charset, despite the fact that content-type is often wrong. That's what's being discouraged, and what it's ... -
08:38 AM Feature #2567: Net::HTTP does not handle encoding correctly
- It seems like encoding on _headers_ is a different question than encoding on bodies.
Perhaps encoding on _headers_ should be left ascii-8bit -- I don't understand if the spec even says the charset in the header is supposed to apply t... -
04:08 AM Revision 315a0cb9 (git): * io.c: re-fix merge miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 AM Revision 82983e83 (git): * thread.c, thread_pthread.c: Moved pthread-specific preprocessor
- hacks to thread_pthread.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:20 AM Revision 1d7dc026 (git): * io.c: Fix a mistake on merging the patch in the previous commit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 AM Revision 76bc2d1e (git): Imports Ruby's port to NativeClient (a.k.a NaCl).
- Patch by Google Inc. [ruby-core:45073].
* configure.in (RUBY_NACL): New M4 func to configure variables for
NaCl.
(RUBY_NACL_CHECK_PEPPER_TYPES): New M4 func to check the old names
of Pepper interface types.
(BTESTRUBY): New vari... -
01:55 AM Revision 0a7aada5 (git): fix static-linked-ext
- * ext/tk/extconf.rb: add -l options to $libs not $LDFLAGS, to be
passed to EXTLIBS in exts.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:39 AM Revision 7333fbf0 (git): enc/encinit.c.erb: use %-lines
- * enc/encinit.c.erb: use %-lines to adjust indent in the generated file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:37 AM Revision 58e7c45f (git): fix static-linked-ext
- * lib/mkmf.rb (MakeMakefile#have_framework): combine -framework option
and its argument with an equal sign not to be separated in merge_libs.
* ext/tk/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35669 b2dd03c... - 01:34 AM Revision 99149917 (git): * 2012-05-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:34 AM Revision 77c4a51c (git): fix static-linked-ext
- * ext/extmk.rb: EXTLDFLAGS also needs to be passed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 AM Bug #6436 (Assigned): Byte counting incorrect in BufferedIO (net/protocol.rb)
- Thanks Jeremie,
Could you add a test to test/net/http/test_buffered_io.rb ?
Nobu, can you review the patch?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:54 AM Feature #6435 (Assigned): Break up net/http.rb into individual files
- I think you can commit it unless there is objection within a few days or a week.
Make sure "make check" is passed before a commit. Thanks!
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:38 AM Bug #6426 (Rejected): Segmentation fault when invoking
- I think this is the same issue as #2655.
https://bugs.ruby-lang.org/issues/2655
In conclusion of that ticket, it is difficult to fix this issue.
Please avoid using win32ole with threads.
If you have any idea to fix this issue, pl... -
12:34 AM Feature #6277: Hash#convert_key
- I am going to create a separate issue fro the CRUDify of Hash. After working on the Hashery (http://github.com/rubyworks/hashery) project all this week, it is clear to me that both a key casting proc and a CRUDified Hash class are indepe...
-
12:32 AM Bug #6416 (Assigned): Deadlock when calling Thread#join from signal interrupt context
- Kosaki-san, could you take a look?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:30 AM Feature #6414 (Assigned): Destructuring Assignment
- FYI: There is similar (but not same) proposal: [ruby-core:41772]
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:13 AM Feature #6413 (Assigned): Make Dir.entries default to Dir.entries(Dir.pwd)
-
12:12 AM Feature #6412 (Rejected): Make Dir.entries default to Dir.entries(Dir.pwd)
- Do not reply to this ticket. Go to #6413.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:10 AM Bug #6408 (Assigned): DelegateClass#eql? and <=> don't work as expected
- Hello, Aaron
What do you think about Jeremy's opinion?
I'm just wondering but why do you want to delegate #eql? ?
I guess that is because you are inserting Delegate objects
to a Hash. Such a code is still dangerous even if the...
05/16/2012
-
10:08 PM Bug #6433 (Assigned): rb_thread_blocking_region(): ubf() function is executed with GVL
-
10:02 PM Feature #6388: Convert README to README.rdoc with formatting
- Hello,
nobu (Nobuyoshi Nakada) wrote:
> I'm neutral to change the names, and will rename them if no objections.
> ...
I don't like it very much.
README is not for github, but for newbie.
README extensions often represent platfor... -
06:21 PM Bug #6033: Digest issue in 1.9.3
- I have the same issue, too :(
I evaded it temporarily by using 1.9.2 sha1.bundle.
mv "$HOME/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin11.3.0/digest/sha1.bundle" "$HOME/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64... -
05:15 PM Feature #6183: Enumerator::Lazy performance issue
- =begin
Here's an update.
All methods except (({Lazy#cycle})), (({Lazy#zip})) and (({Lazy#flat_map})) are optimized.
Benchmark results shown below.
I was working in ((<this branch|URL:https://github.com/gregolsen/ruby/tree/lazy_enum... -
12:59 PM Bug #6441 (Rejected): IO.pipe on ENFILE
- 今の Ruby は open(2) などで、errno=ENFILE が発生した場合、
すなわち fd を使いきっている場合には、rb_gc() を呼び、IO オブジェクトを GC して、
fd が解放されないか試み、それでもダメだったら諦めるとしています。
しかし、IO.pipe の場合はこれに失敗することがあります。
これは、lazy sweep が上記の目的のため T_FILE の場合は直ちに sweep することにしている所、
pipe の場合はそ... -
12:54 PM Feature #6439 (Rejected): 引数にIOを渡した場合のMarshal.loadni
-
12:50 PM Feature #6439: 引数にIOを渡した場合のMarshal.loadni
- すみません。誤って途中で送信してしまいました。
こちらはrejectして下さい。 -
12:45 PM Feature #6439 (Rejected): 引数にIOを渡した場合のMarshal.loadni
-
12:49 PM Feature #6440 (Closed): 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい
- =begin
現在の(({Marshal.load}))では、引数に(({IO}))を渡すと(({IO#getbyte}))や(({IO#read}))で当座に必要な部分のみの読み出しを繰り返すので
大量のメソッド呼び出しが発生し、そのコストが無視できません。
そこで、引数に(({IO}))を渡した場合の(({Marshal.load}))にバッファを持たせる事を提案します。
require 'benchmark'
require 'tempfil... -
11:27 AM Feature #5096: offer Logger-compatibility for syslog ext
- The second rails-free patch places it under ext/syslog/lib/syslog and introduces test/syslog/.
I did not move test/test_syslog.rb to test/syslog/test_syslog.rb though, I was going to submit this as a separate issue if this was was acc... -
11:02 AM Feature #5096: offer Logger-compatibility for syslog ext
- I'll look into this shortly.
I think I'm going to put this under ext/syslog/lib/syslog/ so the whole syslog library can be made a gem in the future. -
09:59 AM Feature #5096: offer Logger-compatibility for syslog ext
- This updated patch removes references to rails and the silence method (as it is not thread-safe).
-
10:05 AM Bug #6436: Byte counting incorrect in BufferedIO (net/protocol.rb)
- Emacs diff-mode.el provides a function, diff-context->unified.
-
05:27 AM Bug #6436: Byte counting incorrect in BufferedIO (net/protocol.rb)
- Patch file.
-
05:09 AM Bug #6436 (Closed): Byte counting incorrect in BufferedIO (net/protocol.rb)
- BufferedIO's @rbuf counts bytes with String#size, but should use String#bytesize. This creates potential incorrect reading of a HTTP body when changing the encoding of each chuck passed by HTTP#read_body:
http.read_body do |chunk|
... -
09:05 AM Revision b85e3e70 (git): * configure.in (PIE): fix operator.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:05 AM Feature #6437 (Rejected): Marshaling Time preserve utc_offset but doesn't preserve zone
-
05:53 AM Feature #6437: Marshaling Time preserve utc_offset but doesn't preserve zone
- Actually this is a dup of #3035
-
05:30 AM Feature #6437 (Rejected): Marshaling Time preserve utc_offset but doesn't preserve zone
- I was wondering why do we have this in Rails https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/time/marshal.rb#L1-4.
I thought it was something particular of old Ruby versions but the same happens in t... -
06:47 AM Revision a2976afa (git): configure.in: Fix an unbalanced quote.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:45 AM Revision 5950dd19 (git): * ext/extmk.rb (exts.mk): use double quotes instead of single quotes
- for commandline because it's not recognized as quotes on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:15 AM Revision 4407beae (git): configure.in: use single quotes
- * configure.in (LD): enclose with single qoutes but not double quotes
not to expand command substitution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 AM Revision 3fa3f9ab (git): Supports static linking of extensions and encodings again.
- Fixes --with-static-linked-ext.
Patch by Google Inc. [ruby-core:45073].
* Makefile.in (ENCOBJS, EXTOBJS): New variables to specify static
linked libraries. Also reintroduces extinit.o, introduces encinit.o
introduces encinit.o
* c... - 05:31 AM Revision 0923ae5e (git): * io.c: fixed a merge mistake of r33878, reported by nobu via IRC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:01 AM Feature #6435 (Closed): Break up net/http.rb into individual files
- The attached patch breaks up net/http.rb into individual files. Beyond addition of "Net::" for scoping only structural changes were made.
I only found uncommitted patches to net/http.rb that were submitted by me, and I think those pa... -
03:49 AM Bug #6434: Block passed implicitly via super
- @Thomas, i didn't know it could change. In fact, i do not know where to find an up to date documentation about basic Ruby keywords.
-
02:23 AM Bug #3660: Trace events seem to be missing - > If you want to print c-func and c-return event, please set:
>
> Tracer::display_c_call = true
> ...
> However, with 1.9.2+ I get almost no output:
>
> C:\dev\ruby\ruby-prof>ruby -vrtracer test_array.rb
> ruby 1.9.2dev (2010... -
01:34 AM Bug #6425 (Closed): Psych issue with !!omap
- This issue was solved with changeset r35657.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/psych/lib/psych/visitors/to_ruby.rb: convert omap tagged ... -
01:23 AM Bug #6425: Psych issue with !!omap - On Tue, May 15, 2012 at 08:45:05AM +0900, trans (Thomas Sawyer) wrote:
>
> Issue #6425 has been updated by trans (Thomas Sawyer).
>
>
> =begin
>
> Ah, the indention I added was the problem. Try:
>
> a = YAML.load %{
> ... -
01:12 AM Bug #6425: Psych issue with !!omap
- Btw, just thought of something that might be important here. Technically a YAML OMap type is written:
--- !!omap
- a: 1
- b: 2
The additional array sequence ensures the order regardless of the parser. However, given Ruby's ...
05/15/2012
-
11:36 PM Revision 80bd769f (git): test/ruby/test_time.rb: split a big test
- * test/ruby/test_time.rb (TestTime#test_strftime): split a big test by
subjects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:26 PM Bug #6434: Block passed implicitly via super
- @alexey I thought that was no longer true for 1.9.
-
05:04 PM Bug #6434: Block passed implicitly via super
- Just a note: `super` without arguments is documented to pass all arguments, so to not pass a block can only be expected from `super()`
-
01:36 PM Bug #6434: Block passed implicitly via super
- I see. It's not intuitive, obviously, but I suppose it makes sense for how Ruby handles implicit yield in general. Nonetheless, wouldn't it be better if this did not apply when a explicit block argument is used?
# would pass block i... -
09:56 AM Bug #6434 (Rejected): Block passed implicitly via super
- =begin
It's a spec.
(({super})) inherits the given block if it's not given directly.
You can call (({super(default, &nil)})) not to pass it.
=end
-
02:59 AM Bug #6434: Block passed implicitly via super
- Crap, could an admin please fix the use of RD in my post. And while I am on the subject, can we just make RD mode always on and be done with it?
-
02:58 AM Bug #6434 (Rejected): Block passed implicitly via super
- =begin
Block is being passed via super implicitly even though the method is explicit and does not pass the block when calling super.
class H < Hash
def initialize(default=nil, &block)
super(default)
end
... - 10:03 PM Revision 00fd3864 (git): * ext/date/date_strftime.c: should also be aware of flags on
- complex specifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:13 PM Revision b4bdb2f2 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: fix a bug with string
- subclass dumping and loading.
* test/psych/test_array.rb: pertinent tests
* test/psych/test_string.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:54 PM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- Thanks, I was suggested to look at bignum.c which makes use of a ubf similar to your pseudo-code. I will try to apply it.
Thanks a lot.
PS: BTW this bug can be closed, but still the doc says that the ubf() is called without GVL whi... -
10:23 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- (2012/05/15 8:15), ibc (Iñaki Baz Castillo) wrote:
> Honestly I don't understand what "`ubf()' should interrupt `func()' execution" means :(
Simple example (peudo-code):
$interrupted_flag = false
Thread1:
begin
... -
08:15 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- I've re-read the doc:
------------
* If another thread interrupts this thread (Thread#kill, signal delivery,
* VM-shutdown request, and so on), `ubf()' is called (`ubf()' means
* "un-blocking function"). `ubf()' should in... -
08:06 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- ibc (Iñaki Baz Castillo) wrote:
> > Maybe you expect that ubf() was called by *blocking* thread. However,
> ...
My fault, the *blocking* thread is the one without GVL :) -
07:59 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- ko1 (Koichi Sasada) wrote:
> Okay, maybe I understand your problem.
> ...
Hi, within my ubf() function I printf the value of ruby_thread_has_gvl_p() and I get 1.
> In last comment, I made a mistake that "ubf() is not called with... -
04:53 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- Hi,
(2012/05/15 4:15), ibc (Iñaki Baz Castillo) wrote:
> You can reproduce it by downloading it (Ruby 1.9.2 or perhasp 1.9.3 required):
Thank you. But I want to read a *small* code....
Okay, maybe I understand your pro... -
04:15 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- ko1 (Koichi Sasada) wrote:
> (2012/05/14 21:57), ibc (Iñaki Baz Castillo) wrote:
> ...
My code clearly says "[BUG] rb_thread_call_with_gvl: called by a thread which has GVL.".
You can reproduce it by downloading it (Ruby 1.9.2 or pe... -
03:23 AM Bug #6433: rb_thread_blocking_region(): ubf() function is executed with GVL
- (2012/05/14 21:57), ibc (Iñaki Baz Castillo) wrote:
> So... is ubf() called with the GVL or not??
No. ubf() will call *without* GVL. I'm not sure why your code said
such error. Can you show us a reproduce-able small code?
... -
04:34 PM Revision 5341e3cc (git): * ext/psych/lib/psych/visitors/to_ruby.rb: convert omap tagged maps to
- Psych::Omap objects rather than hashes. [Bug #6425]
* test/psych/test_omap.rb: pertinent test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:24 PM Revision dcf9ae93 (git): * 2012-05-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:24 PM Revision f78fcf10 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: keep a reference to
- custom coders so that GC does not impact dumped yaml reference ids.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:10 PM Revision 6c29b798 (git): * 2012-05-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@35654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:10 PM Revision 17325a1d (git): * ext/digest/md5/extconf.rb: use pkg_config for openssl so that
- customized ssl paths are used for linking. Backports fixes for
[ruby-core:44755].
* ext/digest/rmd160/extconf.rb: ditto
* ext/digest/sha1/extconf.rb: ditto
* ext/digest/sha2/extconf.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
02:59 PM Revision 5bca86dd (git): lib/test/unit.rb: --color option
- * lib/test/unit.rb (Test::Unit::Options#setup_options): add --color option.
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): defer color code
initialization to regard --color option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
02:54 PM Revision b32388d5 (git): test for Bug #6385
- * test/ruby/test_file.rb (TestFile#test_utime): test for [Bug #6385].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:54 PM Revision 0d9608eb (git): test/ruby/test_file.rb: use tmpdir
- * test/ruby/test_file.rb (TestFile#test_utime): Dir.mktmpdir does not
chdir.
* test/ruby/test_file.rb (TestFile#test_file_open_permissions): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35650 b2dd03c8-39d4-4d8f-98ff-823fe... -
02:54 PM Revision 498a001f (git): test/ruby/test_marshal.rb: close pipes
- * test/ruby/test_marshal.rb (TestMarshal#test_pipe): should close pipes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:45 AM Bug #6425: Psych issue with !!omap
- =begin
Ah, the indention I added was the problem. Try:
a = YAML.load %{
--- !!omap
a: 1
b: 2
}
a.class
a.to_yaml
As for a test case. Something like?
class TestYAMLOMap < Test::Unit::TestCase
def tes... -
03:59 AM Feature #6373: public #self
- On 28 April 2012 17:54, Alex Young <alex@blackkettle.org> wrote:
> "`itself`"?
I agree, `#itself` is the best to me. -
03:41 AM Feature #6373: public #self
- Another option: `#the_self`. The same number of symbols as in `#yourself`, but harder to type :(.