Project

General

Profile

Activity

From 08/14/2011 to 08/20/2011

08/20/2011

07:13 PM Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way
Ping? Nahi-san, can you please tell us your final decision?
kosaki (Motohiro KOSAKI)
07:11 PM Bug #3861 (Assigned): Endian bugs in fiddle/dl on sparc64
Aaron, I think it's ok to backport. But I'd respect your opinion. Please decide it.
Thanks.
kosaki (Motohiro KOSAKI)
07:07 PM Bug #5151: test/socket/test_socket.rb fail when udp connection failed
むらたさん
regressionではないようですし、見る時間がなさそうであれば1.9.4に送ってしまってください。僕は時間がないので当分見る予定ないです
kosaki (Motohiro KOSAKI)
07:02 PM Bug #3422: Object.const_get(:A, false) can access BasicObject::A
Matz, I think we need to decide either 1) revert r32283 or 2) fix naruse reported regression. Everybody know you are busy. But I believe 1.9.3 have no regression.....
kosaki (Motohiro KOSAKI)
06:59 PM Bug #5164: Line endings, bug/regression or feature of 1.9.3?
Ping? kosaki (Motohiro KOSAKI)
06:07 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
MinGW built versions of ruby *did* export ruby_thread_data_type before the last commit.
$ ruby -v
ruby 1.9.3dev (2011-08-10 revision 32901) [i386-mingw32]
$ pexports /usr/local/ruby193/bin/msvcrt-ruby191.dll > msvcrt-ruby191-expor...
cfis (Charlie Savage)
05:59 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Commit dea63e4ba22d354984ce0e9e4395f8aba7152ed3 breaks ruby-debug-base19 (not the old ruby-debug-base). ruby-debug-base19 is here:
https://github.com/JetBrains/ruby-debug-base19
The result is this breaks the debugger in JetBrains,...
cfis (Charlie Savage)
02:23 PM Feature #5206: ruby -K should warn
> When ruby is run with -K it changes the default encoding of all files even when that may be incompatible with the source.  If many libraries are used -K may cause incorrect behavior.
>
> Now that we have the "coding:" magic comment...
kosaki (Motohiro KOSAKI)
08:27 AM Feature #5206 (Closed): ruby -K should warn
When ruby is run with -K it changes the default encoding of all files even when that may be incompatible with the source. If many libraries are used -K may cause incorrect behavior.
Now that we have the "coding:" magic comment ruby s...
drbrain (Eric Hodel)
04:31 AM Revision aef5decf (git): * backport r33013 from trunk.
* iseq.c (iseq_s_disasm): fix a bug that may cause SEGV.
* test/ruby/test_method.rb (test_body): add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
04:26 AM Revision 5cb16a55 (git): * iseq.c (iseq_s_disasm): fix a bug that may cause SEGV.
* test/ruby/test_method.rb (test_body): add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
01:43 AM Revision 4536f22a (git): * 2011-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 AM Revision c2de9428 (git): * 2011-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:43 AM Revision dcb7cc1a (git): * ext/stringio/stringio.c (strio_read): return new string if nil
is explicitly given as a buffer ([Bug #5207]), otherwise set the
encoding. also removed dead code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:43 AM Revision aade9453 (git): * ext/stringio/stringio.c (strio_read): return new string if nil
is explicitly given as a buffer ([Bug #5207]), otherwise set the
encoding. also removed dead code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

08/19/2011

08:51 PM Bug #5166: Documentation for OpenSSL::Digest
I'm sorry to leave the patch again. sdaubert (Sylvain Daubert)
07:34 PM Bug #5204 (Closed): `defined?(@@foo) && @foo` may fail
defined?(@@foo) doesn't use the correct cbase.
See https://github.com/ruby/ruby/pull/44 for test and patch.
judofyr (Magnus Holm)
02:16 PM Bug #5190 (Closed): Net::IMAP idle can block a thread forever
This issue was solved with changeset r33007.
Hugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (idle): raises a Net::IMAP::Error when the
co...
shugo (Shugo Maeda)
02:09 PM Bug #5202 (Assigned): RubyLex very slow when lexing large files
naruse (Yui NARUSE)
03:09 AM Bug #5202 (Closed): RubyLex very slow when lexing large files
RubyLex exponentially slower when lexing large files based on the size of the file. This is because of a call to @readed.reverse inside of the get_readed and ungetc methods. The following updated versions of these methods greatly impr... ryanmelt (Ryan Melton)
11:48 AM Bug #5162: IMAP error formatting string
art lussos wrote:
> In the method msg_att in the file imap.rb, the parse error is written as
> ...
I don't know why the back quote is not good. Ruby uses back quotes in many other cases.
$ ruby -e 'foo'
-e:1:in `<main>': unde...
shugo (Shugo Maeda)
11:33 AM Bug #5163 (Closed): (Net::IMAP::ResponseParseError) unknown attribute `)'
This issue was solved with changeset r33001.
art , thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (msg_att): accepts extra space before ')'.
ba...
shugo (Shugo Maeda)
06:44 AM Bug #5203 (Closed): Fixed typos and grammar mistakes in lib/ and ext/
Just fixed some small English mistakes and clarified some things in the documentation. This
was done purely in the standard library and ext/ directories.
luke-gru (Luke Gruber)
05:25 AM Revision e9930a4b (git): * process.c (proc_spawn_v, proc_spawn): should not wait the
spawned process.
* process.c (proc_spawn_v): fix missing argument, and try with
/bin/sh only if failed with ENOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:25 AM Revision e20f354a (git): * process.c (proc_spawn_v, proc_spawn): should not wait the
spawned process.
* process.c (proc_spawn_v): fix missing argument, and try with
/bin/sh only if failed with ENOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:18 AM Revision f23e93f8 (git): * backport r33007 from trunk.
* lib/net/imap.rb (idle): raises a Net::IMAP::Error when the
connection is closed. based on the patch by Hugo Barauna.
[Bug #5190] [ruby-core:38930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33008 b2dd03c8-39d...
shugo (Shugo Maeda)
05:16 AM Revision 2bd37c71 (git): * lib/net/imap.rb (idle): raises a Net::IMAP::Error when the
connection is closed. based on the patch by Hugo Barauna.
[Bug #5190] [ruby-core:38930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
04:20 AM Revision 5852b97e (git): * configure.in: defines _DARWIN_UNLIMITED_SELECT if the target_os
is darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
04:17 AM Revision 248d589b (git): * thread.c: add a description for the behavior of select(2) on
Mac OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
02:39 AM Revision 31f92d78 (git): * 2011-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:39 AM Revision b824aff1 (git): * backport r33001 from trunk.
* lib/net/imap.rb (msg_att): accepts extra space before ')'.
based on the patch by art lussos. [Bug #5163] [ruby-core:38820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:33 AM Revision 61f830bf (git): * 2011-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:32 AM Revision 28b5db00 (git): * lib/net/imap.rb (msg_att): accepts extra space before ')'.
based on the patch by art lussos. [Bug #5163] [ruby-core:38820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)

08/18/2011

07:17 PM Bug #5193 (Third Party's Issue): ruby_thread_data_type linker errors fixed with RUBY_EXTERN
I'd sent workarounds to ruby-debug. nobu (Nobuyoshi Nakada)
03:53 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Hi,

At Wed, 17 Aug 2011 14:48:59 +0900,
Charlie Savage wrote in [ruby-core:39003]:
> rb_thread_t is *not* public. ruby-debug-base includes
> vm_core.h directly to get access to rb_thread_t. So I would
> guess the develope...
nobu (Nobuyoshi Nakada)
03:45 PM Bug #5201: Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
試してみました。Xcode のバージョンは 4.1 (Build 4B110) です。
1.9.3 HEAD を、
gcc-4.2 -O3 -march=core2 -mtune=core2 でビルドした結果: 問題なし
gcc -O3 -march=core2 -mtune=core2 でビルドした結果: 問題なし
1.9.2 に http://redmine.ruby-lang.org/issues/5074 がバックポートされた場合は、
gcc-...
mrkn (Kenta Murata)
12:48 PM Revision 29cbd339 (git): * 2011-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:48 PM Revision 224d0eeb (git): * ChangeLog: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)

08/17/2011

08:58 PM Bug #5201 (Third Party's Issue): Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
shyouhei (Shyouhei Urabe)
08:50 PM Bug #5201 (Rejected): Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
fiber だと llvm-gcc だからでしょうね。
gcc-4.2 でも再現したら reopen してください。
naruse (Yui NARUSE)
08:25 PM Bug #5201: Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
> ビルド/実行環境はMac OS X Lion (10.7)、Xcode 4.1.1です。 llvm-gccをgccに置き換えるなどの変更は特に行っていません。
この場合 llvm-gcc が使われてしまうので、
http://redmine.ruby-lang.org/issues/5082
と同じじゃないですかね? 1.9.3-preview1でも再現しますか?
kosaki (Motohiro KOSAKI)
08:03 PM Bug #5201 (Third Party's Issue): Ruby 1.9.2p290 [x86_64-darwin11.0.0] Fiber.yieldでSEGV
=begin
ビルド/実行環境はMac OS X Lion (10.7)、Xcode 4.1.1です。
llvm-gccをgccに置き換えるなどの変更は特に行っていません。
処理系はソースコードからconfigure & make & make installしました。
以下のようなコードでSEGVしました。
require 'fiber'

task = Fiber.new do
Fiber.yield 1
Fibe...
h_morita_esm (Hideyuki MORITA)
06:59 PM Feature #5056: About 1.9 EOL
On Thu, Jul 21, 2011 at 10:01 AM, Jon Forums <redmine@ruby-lang.org> wrote:
> jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (Java HotSpot(TM) Client VM 1.6.0_26) [Windows 7-x86-java]
> Rehearsal ----------------------------------...
headius (Charles Nutter)
05:58 PM Bug #5200 (Feedback): Ruby Crash Segmentation fault
It seems segved on "return !/^[\w\u4e00-\u9fa5]+$/i.match(word.force_encoding("UTF-8")).blank?".
So can you show the `word`?
# Or I doubt redis returns broken string.
naruse (Yui NARUSE)
04:49 PM Bug #5200 (Rejected): Ruby Crash Segmentation fault
/Users/jason/work/redis-search/lib/redis_search/search.rb:38: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
-- control frame ----------
c:0041 p:0016 s:0145 b:0142 l:000141 d:000141 METHOD...
huacnlee (Jason Lee)
02:48 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
rb_thread_t is *not* public. ruby-debug-base includes vm_core.h directly to get access to rb_thread_t. So I would guess the developers are well aware that it could change at any time. But given the alternative of no debugger at all, t... cfis (Charlie Savage)
02:45 PM Bug #5197: at_exit order has changed in 1.9.3dev32413
Hi Ryan,
Can you please see following discussion at first?
http://redmine.ruby-lang.org/issues/4400
And then, can you please explain why you are unhappy? Now at_exit() is consistent with JRuby and MacRuby. Then, fixing your ...
kosaki (Motohiro KOSAKI)
06:31 AM Bug #5197 (Rejected): at_exit order has changed in 1.9.3dev32413
I could have sworn I filed or mailed this before, but I can't find it. Sorry if this is a dupe.
#!/usr/bin/ruby -w
happy = false
at_exit { happy = true } # test runner
at_exit { at_exit { abort "not...
zenspider (Ryan Davis)
02:04 PM Revision 52c7bbd4 (git): * ext/bigdecimal/bigdecimal.c (cannot_be_coerced_into_BigDecimal):
remove duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
11:49 AM Feature #4801: Shorthand Hash Syntax for Strings
@Nobuyoshi Nakada, it does seem that my original suggestion for the Hash syntax cannot be implemented due to the String/Symbol incompatibilities, thus how this discussion has panned out is quite natural, though I think it would be better... wardrop (Tom Wardrop)
11:31 AM Bug #5199 (Closed): ext/tk: RB_GC_GUARD seems to be needed in several places
I noticed the following in ext/tk/tkutil/tkutil.c:
rb_warning("fail to convert '%s' to string for Tk",
RSTRING_PTR(rb_funcall(obj, rb_intern("inspect"), 0,
0)));
id = rb_intern(RSTRIN...
normalperson (Eric Wong)
10:51 AM Bug #5172: [PATCH] bigdecimal: RB_GC_GUARD rb_inspect() output
Would you please a new ticket for the issue of tk.
mrkn (Kenta Murata)
10:38 AM Feature #5196: true should be True.
In common, all uppercase names are used for constants, except for classes and modules.
So True doesn't seem like an ordinary constant, and it doesn't feel nice for me.
Why there is TRUE is the historical reason.
In very early ruby, ...
nobu (Nobuyoshi Nakada)
03:11 AM Feature #5196: true should be True.
"true" is not constant but keyword like false, nil, if, else, __FILE__, __LINE__, and so on. naruse (Yui NARUSE)
02:55 AM Feature #5196: true should be True.
Thank you for informations.
But why there is TRUE?
irb(main):007:0> TRUE = false
(irb):7: warning: already initialized constant TRUE
=> false
TRUE can be update.
So,There is no reasons why I use TRUE.
And,I think,there is no...
Tomoki_Imai (Tomoki Imai )
02:53 AM Feature #5196: true should be True.
But constant doesn't mean you can't change it in Ruby... keywords are basically the only thing you can't change. And most of those are not capitalized.
`true` is a literal, just like `nil` or `250`. You can't change those either.

Ea...
rkh (Konstantin Haase)
02:34 AM Feature #5196: true should be True.
There are the constants TRUE, FALSE and NIL which contain true, false and nil drbrain (Eric Hodel)
02:33 AM Feature #5196: true should be True.
In Ruby, you can update constants, though:
ruby-1.9.2-p180 :001 > A = 5
=> 5
ruby-1.9.2-p180 :002 > A = 6
(irb):2: warning: already initialized constant A
=> 6
So I don't see how this would change anything.
steveklabnik (Steve Klabnik)
02:28 AM Feature #5196 (Rejected): true should be True.
Hello.I'm Tomoki Imai.
I found Ruby has inconsistency.
true is constant value.
In irb,
true = nil
(irb):5: Can't assign to true
true = nil
^
from (irb):5
from :0
We can't change value true.
In Ruby,we use cap...
Tomoki_Imai (Tomoki Imai )
10:24 AM Bug #5020 (Closed): Rational cannot coerce into Complex with imag.
This issue was solved with changeset r32994.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* rational.c (nurat_coerce): Rational#coerce should converts its...
mrkn (Kenta Murata)
07:25 AM Feature #5198 (Closed): IMAP -- would like fucntions that return the default ports
POP and SMTP have functions like this and it would be nice to have them in IMAP as well.
# The default port for IMAP connections, port 143
def self.default_imap_port
PORT
end

# The default port for POP3S connections, por...
art.lussos (art lussos)
07:06 AM Bug #5164: Line endings, bug/regression or feature of 1.9.3?
Hello Mr. Nakada, any word on this?
Thank you.
luislavena (Luis Lavena)
06:52 AM Revision bc6c037f (git): Merge commit r32996 from trunk:
* ext/bigdecimal/bigdecimal.c (cannot_be_coerced_into_BigDecimal):
add a new function for raising error when an object cannot coerce
into BigDecimal. [Bug #5172]
* ext/bigdecimal/bigdecimal.c (BigDecimalValueWithPrec): u...
Kenta Murata
06:35 AM Revision 4e8d6c10 (git): Merge branch '5172_bigdecimal_gc_issue' into trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:41 AM Bug #5166 (Feedback): Documentation for OpenSSL::Digest
Oops, closed accidentally, I think this patch is still missing drbrain (Eric Hodel)
01:32 AM Revision 559b7175 (git): Merge commit r32994 from trunk:
* rational.c (nurat_coerce): Rational#coerce should converts itself
into Complex if the argument is a Complex with non-zero imaginary
part. [Bug #5020] [ruby-dev:44088]
* test/ruby/test_rational.rb (test_coerce): test fo...
Kenta Murata
01:24 AM Revision b30d203f (git): * rational.c (nurat_coerce): Rational#coerce should converts itself
into Complex if the argument is a Complex with non-zero imaginary
part. [Bug #5020] [ruby-dev:44088]
* test/ruby/test_rational.rb (test_coerce): test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32994 b2dd0...
Kenta Murata

08/16/2011

10:39 PM Bug #5195 (Assigned): Queue#popでsleepしているthreadをwakeupさせるとQueueの@waitingにそのthreadがpushされてしまう
kosaki (Motohiro KOSAKI)
10:18 PM Bug #5195 (Closed): Queue#popでsleepしているthreadをwakeupさせるとQueueの@waitingにそのthreadがpushされてしまう
=begin
次のようなコードを実行すると、

require 'thread'

queue = Queue.new

t1 = Thread.start { queue.pop; p 1 }

nil until t1.stop?
t1.wakeup
nil until t1.stop?

t2 = Thread.start { queue.pop; p 2 }

nil until t1.stop? && ...
Glass_saga (Masaki Matsushita)
10:18 PM Bug #5194: exceptions caught compiling with clang 2.1 on OSX 10.7
More traces info
Process: miniruby [30619]
Path: /Users/USER/*/miniruby
Identifier: miniruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: gnumake [29787]
Date/Time: ...
joneslee85 (Jones Lee)
10:13 PM Bug #5194 (Rejected): exceptions caught compiling with clang 2.1 on OSX 10.7
Got exception when compiling ruby1.9.4dev with clang 2.1 (Xcode 4) on OSX Lion 10.7
Source SVN date: 16/08/2011
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
generating new...
joneslee85 (Jones Lee)
09:46 PM Revision 9d5b1a51 (git): * backport r32992 from trunk.
* ext/openssl/ossl_x509cert.c: Add class documentation for
OpenSSL::X509::Certificate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
09:41 PM Revision 783fb088 (git): * ext/openssl/ossl_x509cert.c: fixed whitespace issues
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e MartinBosslet (Martin Bosslet)
09:37 PM Revision 515d546d (git): * ext/openssl/ossl_x509cert.c: Add class documentation for
OpenSSL::X509::Certificate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
09:20 PM Feature #4801: Shorthand Hash Syntax for Strings
The most important distinction between Symbols and Strings: a Symbol has the property where its identity *is* its lexical equality where as a String's identity is distinct from its equality. The difference has important performance and ... kstephens (Kurt Stephens)
06:53 PM Feature #4801: Shorthand Hash Syntax for Strings
For info, look at
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/9251 and
the surrounding thread.

On Tue, Aug 16, 2011 at 11:43 AM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:

>
> Second, that proposal, "Symbol as...
sdsykes (Stephen Sykes)
05:53 PM Feature #4801: Shorthand Hash Syntax for Strings
Hi,

At Mon, 15 Aug 2011 11:59:34 +0900,
Tom Wardrop wrote in [ruby-core:38957]:
> So basically what I proposed in my previous message, is to
> some extent, get rid of Symbols. You'd still have the :symbol
> syntax, and symb...
nobu (Nobuyoshi Nakada)
07:07 AM Feature #4801: Shorthand Hash Syntax for Strings
> More simply, if you have String input (say from a user, or as parameters from an HTTP request) your Hash should have String keys. If you have internal fixed values you're looking up you > should use Symbols for both.
It's rarely that...
wardrop (Tom Wardrop)
07:07 AM Feature #4801: Shorthand Hash Syntax for Strings
=begin
More simply, if you have String input (say from a user, or as parameters from an HTTP request) your Hash should have String keys. If you have internal fixed values you're looking up you should use Symbols for both.
=end
It's...
wardrop (Tom Wardrop)
03:18 AM Feature #4801: Shorthand Hash Syntax for Strings
How do you determine (or who determines) "what makes the most sense in terms of memory and the garbage collector"?
For a Hash with keys that are all the same class (String or Symbol) the best performance comes from matching the Hash's...
drbrain (Eric Hodel)
08:06 PM Revision 2a798abf (git): * 2011-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 03c9ff29 (git): * backport r32987 from trunk.
* ext/openssl/ossl_pkey.c: corrected docs, OpenSSL::PKey::DH does
*not* support #sign/verify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
07:59 PM Revision 734a62a4 (git): * 2011-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:59 PM Revision a517fe05 (git): * ext/openssl/ossl_pkey.c: corrected docs, OpenSSL::PKey::DH does
*not* support #sign/verify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
05:53 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Hi,

At Tue, 16 Aug 2011 16:53:07 +0900,
Usaku NAKAMURA wrote in [ruby-core:38973]:
> nobu changed the name of this variable at r30783, and I guess that
> he has intended to make this variable public.

No, it was a follow-...
nobu (Nobuyoshi Nakada)
04:53 PM Bug #5193 (Assigned): ruby_thread_data_type linker errors fixed with RUBY_EXTERN
nobu changed the name of this variable at r30783, and I guess that
he has intended to make this variable public.
nobu, is this correct?
and do you have any opinion about this request?
usa (Usaku NAKAMURA)
03:51 PM Bug #5193 (Third Party's Issue): ruby_thread_data_type linker errors fixed with RUBY_EXTERN
ruby-debug-base19x fails to compile with VC++ 2010 with this error:
ruby_debug.obj : error LNK2001: unresolved external symbol _ruby_thread_data_type
ruby_thread_data_type is declared in vm_core.h as:
extern const rb_data_type_t...
cfis (Charlie Savage)
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
まつもと ゆきひろです

In message "Re: [ruby-dev:44398] Re: [Ruby 1.9 - Feature #5128] 日本語ドキュメントをUTF-8に"
on Tue, 16 Aug 2011 12:05:41 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|いや、元はRedmineですよね。
|| *.ja のファイルは歴史的な事情から...
matz (Yukihiro Matsumoto)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(11/08/16 11:28), NARUSE, Yui wrote:
> 2011年8月16日11:12 Nobuyoshi Nakada <nobu@ruby-lang.org>:
>> (11/08/16 10:29), NARUSE, Yui wrote:
>>> 2011年8月16日10:15 Nobuyoshi Nakada <nobu@ruby-lang.org>:
>>>> (11/08/15 17:41), Urabe Shyouh...
nobu (Nobuyoshi Nakada)
11:29 AM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月16日11:12 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> (11/08/16 10:29), NARUSE, Yui wrote:
>> 2011年8月16日10:15 Nobuyoshi Nakada <nobu@ruby-lang.org>:
>>> (11/08/15 17:41), Urabe Shyouhei wrote:
>>>> (08/12/2011 10:57 AM), Ayum...
naruse (Yui NARUSE)
11:23 AM Feature #5128: 日本語ドキュメントをUTF-8に
(11/08/16 10:29), NARUSE, Yui wrote:
> 2011年8月16日10:15 Nobuyoshi Nakada <nobu@ruby-lang.org>:
>> (11/08/15 17:41), Urabe Shyouhei wrote:
>>> (08/12/2011 10:57 AM), Ayumu Aizawa wrote:
>>>> 下記の件の日本語ドキュメントをUTF-8にしていく件ですが、どうしましょうか?...
nobu (Nobuyoshi Nakada)
10:53 AM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月16日10:15 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> (11/08/15 17:41), Urabe Shyouhei wrote:
>> (08/12/2011 10:57 AM), Ayumu Aizawa wrote:
>>> 下記の件の日本語ドキュメントをUTF-8にしていく件ですが、どうしましょうか?
>>
>> 個人的にはいいんではないかと思うんですけれども。反対の人っています...
naruse (Yui NARUSE)
10:23 AM Feature #5128: 日本語ドキュメントをUTF-8に
(11/08/15 17:41), Urabe Shyouhei wrote:
> (08/12/2011 10:57 AM), Ayumu Aizawa wrote:
>> 下記の件の日本語ドキュメントをUTF-8にしていく件ですが、どうしましょうか?
>
> 個人的にはいいんではないかと思うんですけれども。反対の人っていますか。

Redmineのほうは直ったんでしょうか。
nobu (Nobuyoshi Nakada)
11:26 AM Bug #5176 (Closed): UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
Thank you for testing! The fix is in trunk, and should be in 1.9.3 as well. I will close this now. tenderlovemaking (Aaron Patterson)
11:10 AM Bug #5176: UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
Thanks Aaron!
I tried Psych gem on Linux and Windows, your test was passed.
And my sample code ran with no errors.
hannibal (Masafumi Kiribayashi)
09:56 AM Revision dea63e4b (git): * vm.c (ruby_threadptr_data_type): rename to hide.
[ruby-core:38972]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:56 AM Revision 0dee7247 (git): * vm.c (ruby_threadptr_data_type): rename to hide.
[ruby-core:38972]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:52 AM Revision a8f67eed (git): * win32/mkexports.rb (Exports::Mswin#each_export): exclude Init_
and _threadptr_ functions, as well as mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:52 AM Revision cb40b39a (git): * win32/mkexports.rb (Exports::Mswin#each_export): exclude Init_
and _threadptr_ functions, as well as mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:34 AM Bug #5192 (Closed): [documentation] 100% of Fiddle and +12% of DL
This issue was solved with changeset r32982.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl: Add documentation. Patch by Vincent Batts. [Ruby ...
drbrain (Eric Hodel)
08:08 AM Feature #5182 (Closed): [PATCH] Update Socket doc
This issue was solved with changeset r32977.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket: Make Socket documentation appear. Add document...
drbrain (Eric Hodel)
07:21 AM Feature #5182 (Assigned): [PATCH] Update Socket doc
drbrain (Eric Hodel)
01:36 AM Revision 5afbff7b (git): duplicated statement removed in comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:51 AM Revision c33343b9 (git): * backport r32981 and r32982 from trunk.
* ext/dl: Add documentation. Patch by Vincent Batts.
[Ruby 1.9 - Bug #5192]
* ext/.document (fiddle): Remove duplicate entry
* ext/fiddle: Complete documentation of Fiddle. Patch by Vincent
Batts. [#5192]
git-svn-id: svn+ssh:...
drbrain (Eric Hodel)
12:34 AM Revision de6d4f7e (git): * ext/dl: Add documentation. Patch by Vincent Batts. [Ruby 1.9 - Bug #5192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)

08/15/2011

11:48 PM Revision 87ff4b24 (git): * ext/.document (fiddle): Remove duplicate entry
* ext/fiddle: Complete documentation of Fiddle. Patch by Vincent
Batts. [#5192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
11:25 PM Feature #4801: Shorthand Hash Syntax for Strings
Tom, I agree with you that :something == 'something' returning true would be a good thing in a "clean code" context, but since I don't know about the internal implementation details that originated symbols in the first place, I don't kno... rosenfeld (Rodrigo Rosenfeld Rosas)
01:18 PM Feature #4801: Shorthand Hash Syntax for Strings
Chris, I'm assuming you're responding to what I wrote, in which case I'd like to reassure you that what I propose preserves symbols, so Symbol.all_symbols will still show the same list of symbols as it would without my proposed changes. ... wardrop (Tom Wardrop)
12:10 PM Feature #4801: Shorthand Hash Syntax for Strings
The problem is that symbols are used for more than just keys in hashes. They're also a key player in meta programming, used for cases like referring to methods and instance / class variables. I'm a bit worried that isolating symbols to ... cwgem (Chris White)
11:59 AM Feature #4801: Shorthand Hash Syntax for Strings
So basically what I proposed in my previous message, is to some extent, get rid of Symbols. You'd still have the :symbol syntax, and symbols would still be handled differently by the garbage collector (as they currently are), but they wo... wardrop (Tom Wardrop)
11:54 AM Feature #4801: Shorthand Hash Syntax for Strings
Sounds like everyone wants to get down to the root causes here, which is great, so I'll jump on the band wagon. As I see it, all these problems stem from the fact that symbols and strings are too conceptually similar, in fact they're the... wardrop (Tom Wardrop)
11:20 PM Revision d42e5dcf (git): * 2011-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:20 PM Revision 82322e5d (git): * backport r32977 from trunk
* ext/socket: Make Socket documentation appear. Add documentation for
Socket, TCPServer, SOCKSSocket. Patch by Sylvain Daubert.
[Ruby 1.9 - Feature #5182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32979 b2d...
drbrain (Eric Hodel)
11:08 PM Revision 8977d3e3 (git): * 2011-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:08 PM Revision 12979424 (git): * ext/socket: Make Socket documentation appear. Add documentation for
Socket, TCPServer, SOCKSSocket. Patch by Sylvain Daubert.
[Ruby 1.9 - Feature #5182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:53 PM Feature #5183: [PATCH] openssl: add OP_NO_COMPRESSION constant
2011/8/15 Martin Bosslet <Martin.Bosslet@googlemail.com>:
>
> Issue #5183 has been updated by Martin Bosslet.
>
> Target version changed from 1.9.x to 1.9.3
>
> I can only repeat what Motohiro said the other day - thanks a l...
kosaki (Motohiro KOSAKI)
10:26 AM Feature #5183: [PATCH] openssl: add OP_NO_COMPRESSION constant
I can only repeat what Motohiro said the other day - thanks a lot
for your contribution, Eric!
I also backported this to 1.9.3, as I can only see benefit in this
patch.
It shouldn't affect the stability of 1.9.3. But please objec...
MartinBosslet (Martin Bosslet)
10:10 AM Feature #5183 (Closed): [PATCH] openssl: add OP_NO_COMPRESSION constant
This issue was solved with changeset r32973.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_ssl.c: Support disabling OpenSSL compression.
...
Anonymous
05:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
(08/12/2011 10:57 AM), Ayumu Aizawa wrote:
> 下記の件の日本語ドキュメントをUTF-8にしていく件ですが、どうしましょうか?

個人的にはいいんではないかと思うんですけれども。反対の人っていますか。
shyouhei (Shyouhei Urabe)
01:37 PM Bug #5192 (Closed): [documentation] 100% of Fiddle and +12% of DL
The two attached patches, include the documentation for the following
--- 1.xx 2011-08-15 00:33:23.984573861 -0400
+++ 2.xx 2011-08-15 00:33:36.404573862 -0400
@@ -1,8 +1,102 @@

The following items are not documented:

-mo...
vbatts (Vincent Batts)
11:32 AM Feature #5056: About 1.9 EOL
Yukihiro Matsumoto wrote:
> In message "Re: [ruby-core:38900] [Ruby 1.9 - Feature #5056] About 1.9 EOL"
> ...
What is 1_9 branch for. will we release 1.9.4?
If not, we don't need such branch; it only brings troublesome 2.0->1.9 merge...
naruse (Yui NARUSE)
10:48 AM Feature #4102: Proposal for 'let'. A new approach using block-defaults in 1.9
Thanks for the tips Magnus, they're very handy. I forget that begin ... end can be used just about anywhere to encapsulate multiple expressions that lead to a single result. The #tap method I simply had no idea about.
Cheers
wardrop (Tom Wardrop)
01:20 AM Revision 28d8d878 (git): * 2011-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:20 AM Revision b3ed3c9e (git): * backport r32973 from trunk.
* ext/openssl/ossl_ssl.c: Support disabling OpenSSL compression.
* test/openssl/test_ssl.rb: Add a test for it.
Thanks to Eric Wong for the patch.
[Ruby 1.9 - Feature #5183] [ruby-core:38911]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
MartinBosslet (Martin Bosslet)
01:10 AM Revision 39e112f8 (git): * 2011-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:10 AM Revision 1be5789e (git): * ext/openssl/ossl_ssl.c: Support disabling OpenSSL compression.
* test/openssl/test_ssl.rb: Add a test for it.
Thanks to Eric Wong for the patch.
[Ruby 1.9 - Feature #5183] [ruby-core:38911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)

08/14/2011

10:19 AM Bug #5176: UTF-8以外でpsychを使用し、YAML.dumpを実行するとエラーが発生する
If you use the psych gem, I think it will fix this. Psych should automatically encode to UTF-8, but I think I added that after 1.9.2 was released.
Can you try with the Psych gem please?
Here is a test case I am using: https://gist...
tenderlovemaking (Aaron Patterson)
 

Also available in: Atom