Project

General

Profile

Activity

From 11/24/2011 to 11/30/2011

11/30/2011

11:44 PM Bug #5691 (Closed): rb_path2class raises a NameError if a constant in the path exists on toplevel
This issue was solved with changeset r33909.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* variable.c (rb_path2class): don't raise NameError when the middl...
naruse (Yui NARUSE)
10:21 PM Bug #5691 (Closed): rb_path2class raises a NameError if a constant in the path exists on toplevel
An exception from rb_path2class differs on strange context.
% ./ruby -r./spec/rubyspec/optional/capi/ext/class_spec.so -e'CApiClassSpecs.new.rb_path2class("CApiClassSpecs::X")'
-e:1:in `rb_path2class': undefined class/module CApiClas...
naruse (Yui NARUSE)
11:31 PM Feature #5562: Improvement of Windows IO performance
Additionally, I used Luis's patch of #5681 for build.
I skipped the following two test.
TestRequire#test_require_invalid_shared_object
TestRubyOptions#test_segv_test
h.shirosaki (Hiroshi Shirosaki)
11:24 PM Feature #5562: Improvement of Windows IO performance
I updated a patch against trunk@33908.
Patched ruby passed "make test" with no failures.
Here are test-all results.
# patched ruby
OpenSSL::TestConfig#test_constants = 0.05 s = F
TestDir_M17N#test_filename_as_bytes_extutf8 =...
h.shirosaki (Hiroshi Shirosaki)
10:17 PM Revision 0d0bd164 (git): * configure.in: add sys/prctl.h test.
* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) to change
thread name. It may help to debug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:24 PM Feature #5690: Module#qualified_const_get
Hi,
In message "Re: [ruby-core:41408] Re: [ruby-trunk - Bug #5690][Open] Module#qualified_const_get"
on Wed, 30 Nov 2011 16:52:36 +0900, Yehuda Katz <wycats@gmail.com> writes:
> > * is there any use-case for this method?
> .....
matz (Yukihiro Matsumoto)
03:23 PM Feature #5690: Module#qualified_const_get
Hi,
In message "Re: [ruby-core:41404] [ruby-trunk - Bug #5690][Open] Module#qualified_const_get"
on Wed, 30 Nov 2011 12:10:02 +0900, Yehuda Katz <wycats@gmail.com> writes:
> It would be great if there was a way to dynamically lo...
matz (Yukihiro Matsumoto)
12:13 PM Feature #5690 (Assigned): Module#qualified_const_get
naruse (Yui NARUSE)
12:10 PM Feature #5690 (Closed): Module#qualified_const_get
It would be great if there was a way to dynamically load a constant path:
```ruby
module Foo
module Bar
module Baz
end
end
end
Foo.qualified_const_get("Bar::Baz") => Foo::Bar::Baz
```
wycats (Yehuda Katz)
03:23 PM Bug #5689: class variables inside of instance methods inside of "class_eval"
まつもと ゆきひろです

In message "Re: [ruby-dev:44907] [ruby-trunk - Bug #5689] class variables inside of instance methods inside of "class_eval""
on Wed, 30 Nov 2011 13:14:05 +0900, Shugo Maeda <redmine@ruby-lang.org> writes:

|mo...
matz (Yukihiro Matsumoto)
01:13 PM Bug #5689: class variables inside of instance methods inside of "class_eval"
Shyouhei Urabe wrote:
> インスタンスメソッドの中から他のクラスのクラス変数が見えるというのはいかにもまずそうに思うのですが、以下の挙動は意図的ですか。
> ...
module_evalは定数同様にクラス変数の探索にも影響しないので、意図的では
あるんじゃないでしょうか。
定数探索の動作を1.8と同じに戻した時の議論で、クラス変数をどうするかも
議論した上で、合わせて1.8の動作に戻したように記憶しています。
ただ、今の動作が望ま...
shugo (Shugo Maeda)
11:32 AM Bug #5689 (Rejected): class variables inside of instance methods inside of "class_eval"
インスタンスメソッドの中から他のクラスのクラス変数が見えるというのはいかにもまずそうに思うのですが、以下の挙動は意図的ですか。
zsh % ~/target/trunk/bin/ruby -ve'
class Klass
@@cvar = "Klass"
end
Klass.module_eval do
def cvar
@@cvar
end
end
@@cvar = "main"
puts Klass.new.cv...
shyouhei (Shyouhei Urabe)
03:19 PM Revision 5ee348fd (git): * 2011-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 4c5c26ce (git): Fix 33906: remove JSON::Ext::Generator::GeneratorMethods::String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:44 PM Revision f6f45343 (git): * variable.c (rb_path2class): don't raise NameError when the middle
constant of the path is not defined but defined on toplevel.
[ruby-core:41410] [Bug #5691]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:03 AM Revision ed73a902 (git): transcode.c: Simplified rb_econv_binmode, avoided a warning on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
09:25 AM Feature #5666: Make rb_path2class public
Yehuda Katz wrote:
> While we're at it, can we create a version of this exposed to Ruby?
> ...
Could you make a ticket about it?
It is another issue.
naruse (Yui NARUSE)
09:23 AM Revision 5ce73b51 (git): merge revision(s) r33613:
* complex.c (nucomp_rationalize): fix function. [ruby-core:40667]
[Bug #5546]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:26 AM Bug #5659: bug releasing a gem created with rails 3.1
Vinicius Gati wrote:
> I updated the gist with the 1.9.3-p0 log error
> ...
:connect errors can be caused by OpenSSL.
Having that version of OpenSSL in your system, are you sure is the same Ruby is built against?
Please do:
$ ...
luislavena (Luis Lavena)
06:13 AM Bug #5659: bug releasing a gem created with rails 3.1
I paste the 1.9.3-p0 bug in another gist
https://gist.github.com/1406528
viniciusgati (Vinicius Gati)
04:36 AM Bug #5568 (Assigned): IO#set_encoding ignores internal when the same as external only when specified as "ext:int"
naruse (Yui NARUSE)
03:15 AM Bug #5568: IO#set_encoding ignores internal when the same as external only when specified as "ext:int"
Why is there a difference in behavior when the arguments are different? In other words, ("ext:int") and (ext, int) do not have the same behavior. That's really the point of this ticket. brixen (Brian Shirai)
03:32 AM Revision 1d234a16 (git): * test/ruby/test_module.rb (TestModule): removed remove_*_mixins methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:20 AM Revision 6a894686 (git): Fix r33904.
It breaks following tests if RUBYOPT=-w
* test_class_build(TestGemExtExtConfBuilder)
* test_class_build_rbconfig_make_prog(TestGemExtExtConfBuilder)
* test_class_build_env_make(TestGemExtExtConfBuilder)
git-svn-id: svn+ssh://ci.ruby-lan...
naruse (Yui NARUSE)
12:57 AM Revision 8b7ecdc1 (git): * lib/mkmf.rb: Use MakeMakefile's rm_f to avoid conflict with Rake or
FileUtils.
* test/ruby/test_module.rb: Hide MakeMakefile's inclusion in Object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:21 AM Revision 58398d51 (git): merge revision(s) 33775:
* ext/psych/lib/psych.rb (load_file): make sure opened yaml files are
also closed. [ruby-core:41088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:13 AM Revision 434a5f93 (git): * lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline chars
on Windows.
see https://github.com/rdoc/rdoc/issues/87
* test/rdoc/test_rdoc_markup_pre_process.rb
(TestRDocMarkupPreProcess#test_include_file,
TestRDocMarkupPreProcess#test_include_file_encoding_incompatible):
follow above chan...
U.Nakamura
12:10 AM Revision b62aadf0 (git): * 2011-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:10 AM Revision 0df90074 (git): * ext/psych/parser.c (parse): parse method can take an option file
name for use in exception messages.
* test/psych/test_parser.rb: corresponding tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)

11/29/2011

09:13 PM Bug #5568 (Rejected): IO#set_encoding ignores internal when the same as external only when specified as "ext:int"
Current behavior is correct.
It means the specifying internal encoding won't effect until external encoding is changed.
naruse (Yui NARUSE)
08:32 PM Feature #5663: Combined map/select method
Hi Alexey,
Yes, I know about this. What José Valim suggested (well, he actually wondered, since he doesn't believe this could be changed in Ruby due to the large existent code base) was the removal of the block concept. From what I've...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:30 AM Feature #5663: Combined map/select method
Rodrigo Rosenfeld Rosas wrote:
> Em 25-11-2011 01:00, Nobuyoshi Nakada escreveu:
> ...
I am not a specialist, but it seems that you can only use ampersand in a `def` with the *last* parameter, and in such case this last parameter becomes...
alexeymuranov (Alexey Muranov)
08:10 PM Bug #5685 (Rejected): Oniguruma does not recognize U+30FC as Katakana
\p{Katakana} refers Script=Katakana, not Block=Katakana.
So current behavior is correct.
See also
http://unicode.org/reports/tr18/
http://www.unicode.org/Public/UNIDATA/Scripts.txt
http://perldoc.perl.org/perluniprops.html
naruse (Yui NARUSE)
01:10 PM Bug #5685 (Rejected): Oniguruma does not recognize U+30FC as Katakana
The character U+30FC KATAKANA-HIRAGANA PROLONGED SOUND MARK (Japanese choonpu) belongs to the Unicode Katakana block (U+30A0-30FF), but it is not matched by /\p{Katakana}/. Demonstration:
"私のホバークラフトは鰻でいっぱいです".gsub(/(\p{Katakana}|\p{H...
jpatokal (Jani Patokallio)
07:03 PM Bug #5688 (Closed): Solaris10 で spawn を繰り返すとメモリリークする
Solaris10 で spawn を繰り返すとメモリリークします。
Ruby は Solaris の gcc でビルドしています。32bit でも 64bit でも結果は同じでした。
1.9.2-p180(64bit), 1.9.2-p290(32bit), 1.9.3-p0(64bit) で確認しました。
再現手順は以下の通りです。
spawn-sleep.rb を以下の内容で作ります。
#!/usr/bin/env ruby
ARGV[...
okkez (okkez _)
06:04 PM Revision 72fba570 (git): merge revision(s) 33198,33199:
* numeric.c (flo_round): Fix criteria for 32 bits platform
part 2 of [bug #5276]
* numeric.c (dbl2ival): Fix Float#divmod and #round for 32 bit
platform. part 1 of [bug #5276]
git-svn-id: svn+ssh://ci.ruby-...
naruse (Yui NARUSE)
05:39 PM Revision 68336beb (git): merge revision(s) 33158,33185,33186:
* numeric.c (flo_round): substitute machine dependent magic number.
* numeric.c (flo_round): Make Float#round round big values [bug
#5272]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33898 b2dd03c...
naruse (Yui NARUSE)
05:29 PM Revision ee490943 (git): merge revision(s) 33183,33185:
* numeric.c (int_round): Integer#round always returns an Integer [Bug
#5271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:44 PM Bug #5686 (Rejected): compile error for ext/tk/tcltklib.c: ‘ruby_errinfo’ undeclared
When compiling ruby trunk, I get a compile error for ext/tk/tcltklib.c
(see below). When I do
> grep ruby_errinfo * */* */*/* */*/*/*
in the top directory, ruby_errinfo shows up in many ChangeLog messages (1.8.0/1.9.3/YARV)
that...
duerst (Martin Dürst)
11:35 AM Bug #5684 (Rejected): [[Ruby 1.9:]] Socket doesn't respect default external encoding
When receiving data from a TCPSocket (as in client.rb, attached), the default internal encoding specified by the -E option to ruby is not respected.
Steps:
(1) In terminal window A, run: ruby server.rb
(2) In terminal window B, run:...
vovik (Vladimir Chernis)
11:09 AM Bug #5490: Bignum#div(0.0) raises FloatDomainError instead of ZeroDivisionError
Is this going to be backported to 1.9? The RubySpecs were changed with a ruby_version_is guard, which would be incorrect if this is considered a bug. If it's not considered a bug, why not?
Thanks,
Brian
brixen (Brian Shirai)
11:08 AM Feature #5654: Introduce global lock to avoid concurrent require
As guys already said all the caveats I can think of are less important than allowing concurrent file loading spastorino (Santiago Pastorino)
08:42 AM Revision 302b6f6e (git): Don't break tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:54 AM Feature #5658 (Closed): Wrap mkmf.rb in a module to clean up documentation
This issue was solved with changeset r33890.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up O...
drbrain (Eric Hodel)
06:31 AM Bug #5625: Remove profanity and pejoratives
Andrew Grimm wrote:
>
> ...
And what about "dumb" ? E.g:
./lib/rexml/doctype.rb: # parser, so we can be pretty dumb about them. All we need to be able
And what about "crippling" ?
./lib/rubygems/package/tar_input.rb: # po...
spatulasnout (B Kelly)
05:53 AM Feature #5677: IO C API
Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
> Eric Wong wrote:
> > Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
> > > This is related to the proposal in [ruby-core:41321][1].
> > >
> > > I'd like to take...
normalperson (Eric Wong)
04:12 AM Feature #5678: StringIO#to_str
Yukihiro Matsumoto wrote:
> Hi,
> ...
We could handle StringIO exceptionally by trying to call #string on the
object passed. But that's not too elegant and will probably only work in
the very specific case of StringIO. Implementing #...
MartinBosslet (Martin Bosslet)
01:23 AM Bug #5681: Conflcting types for rb_w32_inet_ntop caused by duplicate definition under MinGW
Hello,

In message "[ruby-core:41375] Re: [ruby-trunk - Bug #5681][Open] Conflcting types for rb_w32_inet_ntop caused by duplicate definition under MinGW"
on Nov.29,2011 00:21:14, <luislavena@gmail.com> wrote:
> Agree, but t...
usa (Usaku NAKAMURA)
12:23 AM Bug #5681: Conflcting types for rb_w32_inet_ntop caused by duplicate definition under MinGW
On Mon, Nov 28, 2011 at 12:15 PM, KOSAKI Motohiro
<kosaki.motohiro@gmail.com> wrote:
>
> Why win32.h don't turn on HAVE_INET_NTOP?  I mean platform specific
> hack should be placed in platform specific files if possible.
> configu...
luislavena (Luis Lavena)
12:23 AM Bug #5681: Conflcting types for rb_w32_inet_ntop caused by duplicate definition under MinGW
2011/11/28 Luis Lavena <luislavena@gmail.com>:
>
> Issue #5681 has been reported by Luis Lavena.
>
> ----------------------------------------
> Bug #5681: Conflcting types for rb_w32_inet_ntop caused by duplicate definition under M...
kosaki (Motohiro KOSAKI)
12:06 AM Bug #5681 (Closed): Conflcting types for rb_w32_inet_ntop caused by duplicate definition under MinGW
MinGW 4.5.2 (TDM builds), building against trunk (r33885) is causing the following error: luislavena (Luis Lavena)
01:08 AM Revision 2ba24727 (git): * lib/mkmf.rb: Fix indentations of constants at end of module.
Document some constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:58 AM Revision 82d138f7 (git): * io.c (rb_write_error2): suppress unused variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:51 AM Revision 9fe88af9 (git): * win32/win32.c (rb_w32_inet_ntop): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:51 AM Revision 4659b00b (git): * parse.y (nodetype, nodeline): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:23 AM Bug #5679: Too many arguments for format warnings on mingw32 build
> Anyhow, I think this is coming from printf implementation of MinGW:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37768
>
> And this:
>
> http://mingw-users.1079350.n2.nabble.com/quot-z-quot-format-in-printf-statements-t...
kosaki (Motohiro KOSAKI)
12:23 AM Bug #5679: Too many arguments for format warnings on mingw32 build
On Mon, Nov 28, 2011 at 11:56 AM, KOSAKI Motohiro
<kosaki.motohiro@gmail.com> wrote:
>> I can see the following warnings during mingw32 build.
>>
>> gc.c: In function 'gc_profile_result':
>> gc.c:3581:4: warning: unknown conversion...
luislavena (Luis Lavena)
12:14 AM Bug #5598 (Closed): man pages are in mdoc format
This issue was solved with changeset r33886.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man....
yugui (Yuki Sonoda)

11/28/2011

11:59 PM Bug #5679: Too many arguments for format warnings on mingw32 build
> I can see the following warnings during mingw32 build.
>
> gc.c: In function 'gc_profile_result':
> gc.c:3581:4: warning: unknown conversion type character 'z' in format
> gc.c:3581:4: warning: unknown conversion type characte...
kosaki (Motohiro KOSAKI)
02:28 PM Bug #5679 (Closed): Too many arguments for format warnings on mingw32 build
I can see the following warnings during mingw32 build.
gc.c: In function 'gc_profile_result':
gc.c:3581:4: warning: unknown conversion type character 'z' in format
gc.c:3581:4: warning: unknown conversion type character 'z' in forma...
phasis68 (Heesob Park)
11:45 PM Revision b1f1e46c (git): * lib/mkmf.rb: Wrap comments to 78 columns and clean up formatting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
11:23 PM Feature #5562: Improvement of Windows IO performance
> Hiroshi Shirosaki: can you upload a newer patch against latest trunk?

Yes, I'll update a patch. It takes some time for check and test.

Thank you.
--
Hiroshi Shirosaki
h.shirosaki (Hiroshi Shirosaki)
10:23 AM Feature #5562: Improvement of Windows IO performance
Hello,

In message "[ruby-core:41331] [ruby-trunk - Feature #5562] Improvement of Windows IO performance"
on Nov.27,2011 23:49:02, <luislavena@gmail.com> wrote:
> Usaku NAKAMURA: Can I apply Hiroshi's patch to trunk once is ...
usa (Usaku NAKAMURA)
10:29 PM Bug #5194: exceptions caught compiling with clang 2.1 on OSX 10.7
Same problem on my iMac, which has been upgraded from Leopard.
Xcode 4.2 and "--with-gcc=clang".
cakepie (Cake Pie)
10:23 PM Bug #5625: Remove profanity and pejoratives
On Mon, Nov 28, 2011 at 13:43, Andrew Grimm <andrew.j.grimm@gmail.com> wrote:

> I had assumed that the person(s) who had used "lame" didn't know what the word originally meant (and therefore filing a separate ticket would be an over-...
now (Nikolai Weibull)
09:43 PM Bug #5625: Remove profanity and pejoratives
Eric Hodel wrote:
> I've looked through two of your patches and if we're going to remove profanity then let's not simply replace words you don't like with another word that leaves an equally unhelpful comment or method name.
> ...
Ok.
...
agrimm (Andrew Grimm)
09:54 PM Revision 194882cc (git): * lib/mkmf.rb: Wrap mkmf.rb in module MakeMakefile to clean up Object
documentation. [Ruby 1.9 - Feature #5658]
* ext/extmk.rb: Use MakeMakefile::CONFIG instead of Object::CONFIG
* test/mkmf/base.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:53 PM Feature #5663: Combined map/select method
Em 27-11-2011 23:59, Nobuyoshi Nakada escreveu:
> ...
>> Anyway, I still didn't understand why (1..10).grep(&:even?) works, but (1..10).grep(&:even?){|i| i+1} not.
> The former is equivalent to
>
> (1..10).grep {|i| i.even?...
rosenfeld (Rodrigo Rosenfeld Rosas)
11:23 AM Feature #5663: Combined map/select method
Hi,

(11/11/28 10:05), Rodrigo Rosenfeld Rosas wrote:
>> &expr calls #to_proc method on the result of expr, to achieve a Proc object.

achieve a Proc object, and convert it into a block.

> Anyway, I still didn't understan...
nobu (Nobuyoshi Nakada)
10:23 AM Feature #5663: Combined map/select method
Em 25-11-2011 01:00, Nobuyoshi Nakada escreveu:
> Issue #5663 has been updated by Nobuyoshi Nakada.
>
>
> Rodrigo Rosenfeld Rosas wrote:
>> Nobuyoshi, wouldn't&:even? be equivalent to :even?.to_proc? I just find that the examp...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:09 PM Bug #5680 (Rejected): IPPROTO_GGP undeclared when compiling ext/socket/constants.c
On Cygwin, with an unmodified checkout of trunk, I get an error when compiling ext/socket/constants.c, as below.
I'm attaching the constdefs.c file, because this seems relevant, and is autogenerated.
make[2]: Entering directory `/cyg...
duerst (Martin Dürst)
07:23 PM Bug #4409: DRb: discrepency between DRb.here? and DRb.uri leads to failure to dereference a DrbObject
Nicolas, thank you for reporting this issue - http://roofracksforvan.com iamcory (Cory Banks)
07:23 PM Feature #5678: StringIO#to_str
Hi,
In message "Re: [ruby-core:41354] [ruby-trunk - Feature #5678][Closed] StringIO#to_str"
on Mon, 28 Nov 2011 18:50:12 +0900, Martin Bosslet <Martin.Bosslet@googlemail.com> writes:

|OK, thank you for clarifying this! I wi...
matz (Yukihiro Matsumoto)
06:59 PM Feature #5678: StringIO#to_str
On Mon, Nov 28, 2011 at 07:16, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

> In message "Re: [ruby-core:41347] [ruby-trunk - Feature #5678] StringIO#to_str"
>    on Mon, 28 Nov 2011 11:16:33 +0900, Martin Bosslet <Martin.Bosslet@...
now (Nikolai Weibull)
06:50 PM Feature #5678 (Closed): StringIO#to_str
Yukihiro Matsumoto wrote:
> Hi,
> ...
OK, thank you for clarifying this! I will use StringIO#string then.
MartinBosslet (Martin Bosslet)
03:23 PM Feature #5678: StringIO#to_str
Hi,

In message "Re: [ruby-core:41347] [ruby-trunk - Feature #5678] StringIO#to_str"
on Mon, 28 Nov 2011 11:16:33 +0900, Martin Bosslet <Martin.Bosslet@googlemail.com> writes:

|Do you see any negative aspects when adding ...
matz (Yukihiro Matsumoto)
11:16 AM Feature #5678: StringIO#to_str
Nobuyoshi Nakada wrote:
> Martin Bosslet wrote:
> ...
I don't really need to, it's just that I am working on making
ASN1.decode streaming-aware. So I wanted it to work with any
IO or IO-like object and additionally with Strings. Th...
MartinBosslet (Martin Bosslet)
10:51 AM Feature #5678 (Feedback): StringIO#to_str
Martin Bosslet wrote:
> The following raises an error currently:
> ...
Why do you need to pass `io', not io.string or the result of to_der?
nobu (Nobuyoshi Nakada)
09:52 AM Feature #5678 (Closed): StringIO#to_str
The following raises an error currently:
require 'stringio'
require 'openssl'
io = StringIO.new(OpenSSL::ASN1::Integer.new(1).to_der)
asn = OpenSSL::ASN1.decode io
The reason is that ossl_obj2bio[1] looks for a
T_FILE...
MartinBosslet (Martin Bosslet)
07:19 PM Feature #5677: IO C API
Eric Wong wrote:
First off, thanks for your comments.
> Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
> ...
You mean reading String chunks from the underlying IO? I'm afraid not.
The only way I could right now is calling ...
MartinBosslet (Martin Bosslet)
02:23 PM Feature #5677: IO C API
Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
> This is related to the proposal in [ruby-core:41321][1].
>
> I'd like to take advantage of streaming IO in an extension I am
> working on. The problem I'm having is that I...
normalperson (Eric Wong)
08:25 AM Feature #5677 (Rejected): IO C API
This is related to the proposal in [ruby-core:41321][1].
I'd like to take advantage of streaming IO in an extension I am
working on. The problem I'm having is that I don't want to call
IO#read on the rb_funcall level because that wo...
MartinBosslet (Martin Bosslet)
05:44 PM Revision 22702f92 (git): * include/ruby/win32.h (GetCurrentThreadHandle): remove unused API.
follow r33881.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:36 PM Revision 97c3d78c (git): * ChangeLog: fix some typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:14 PM Revision 2ffeb686 (git): * 2011-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 0f7e05a0 (git): * common.mk (INSTRUBY_ARGS): added --mantype to apply mdoc2man.rb
to man pages. Fixes #5598.
(do-install-nodoc, do-install-local, do-install-man,
dont-install-nodoc, dont-install-local, dont-install-man):
No longer needs --mantype.
Reported by Rainer Orth <ro AT cebitec.uni-bielefeld.de>,
p...
yugui (Yuki Sonoda)
01:28 PM Revision 81ef9c66 (git): * test/rake/test_rake_directory_task.rb
(TestRakeDirectoryTask#test_directory_win32): shouldn't create any
file/directory on root directory. create on @tempdir (= Dir.pwd).
see https://github.com/jimweirich/rake/issues/91
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
U.Nakamura
10:36 AM Bug #5675 (Closed): [mingw] static build fails due to socket extension build failure
This issue was solved with changeset r33876.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/subst.h: moved Windows specific substitions from
...
nobu (Nobuyoshi Nakada)
01:53 AM Bug #5675: [mingw] static build fails due to socket extension build failure
>> Why doesn't socket.c include "ruby/win32.h"?  I apologize if I ask
>> dumb question.
>
> Not a dumb question, a very valid one...
>
> ruby.h includes ruby/ruby.h
> ruby/ruby.h includes ruby/defines.h
> ruby/defines.h does inc...
kosaki (Motohiro KOSAKI)
12:53 AM Bug #5675: [mingw] static build fails due to socket extension build failure
On Sun, Nov 27, 2011 at 12:41 PM, KOSAKI Motohiro
<kosaki.motohiro@gmail.com> wrote:
>
> Why doesn't socket.c include "ruby/win32.h"?  I apologize if I ask
> dumb question.
>

Not a dumb question, a very valid one...

ruby.h i...
luislavena (Luis Lavena)
12:53 AM Bug #5675: [mingw] static build fails due to socket extension build failure
2011/11/27 Luis Lavena <luislavena@gmail.com>:
> On Sun, Nov 27, 2011 at 4:11 AM, KOSAKI Motohiro
> <kosaki.motohiro@gmail.com> wrote:
>>
>> This warning shouldn't be happen. But I'm wondering it because many
>> people did suc...
kosaki (Motohiro KOSAKI)
10:25 AM Bug #5674: [mingw] build failure due to win/win32.c `rb_w32_getc`
kosaki-san, you don't have to revert.
re-commit them.
usa (Usaku NAKAMURA)
09:11 AM Bug #5676 (Closed): miniruby linking error: undefined reference to ___stack_chk_guard
r33863
kosaki (Motohiro KOSAKI)
03:57 AM Revision fb8ff8de (git): * io.c (rb_write_error2): fwrite() returns ssize_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:49 AM Revision 4d6de2f7 (git): * parse.y (nodetype, nodeline): static. these functions are for
debugging, and not intend to be public.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:38 AM Revision 2d0c17d4 (git): * gc.c (initial_params): static. it seems to be forgetten at r33501.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:33 AM Revision 2d6a401e (git): * include/ruby/win32.h, win32/win32.c (GetCurrentThreadHandle): remove
unused old API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:29 AM Revision 70edc47d (git): * win32/mkexports.rb (Exports#initialize): remove old symbol name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:15 AM Revision b0381723 (git): * win32/mkexports.rb (Exports#read_substitution): need to read
from subst.h too. [Bug #5675]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:47 AM Revision 02f9b4d6 (git): * io.c (rb_io_flush): release GVL during fsync() on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:00 AM Revision d81c2077 (git): * include/ruby/subst.h: typo of r33876.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:36 AM Revision 1510ad86 (git): * include/ruby/subst.h: moved Windows specific substitions from
win32.h.
* ext/socket/rubysocket.h: include ruby/subst.h. [Bug #5675]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:23 AM Revision 61b3acd5 (git): * win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move the
definitions from config.h to win32.c. I dared to have left such
macros, for other future compiler support.
[ruby-core:41313] [Bug #5674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:33 AM Revision 4ccc50f4 (git): * 2011-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:33 AM Revision 5bc28059 (git): * win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898]
* test/ruby/test_file.rb (TestFile#test_chmod_m17n): test of above bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

11/27/2011

11:53 PM Bug #5675: [mingw] static build fails due to socket extension build failure
On Sun, Nov 27, 2011 at 4:11 AM, KOSAKI Motohiro
<kosaki.motohiro@gmail.com> wrote:
>
> This warning shouldn't be happen. But I'm wondering it because many
> people did success mingw32 build. Hmm..
>

Build with --enable-shared d...
luislavena (Luis Lavena)
06:44 PM Bug #5675: [mingw] static build fails due to socket extension build failure
Configuring with --disable-shared option caused failure on mingw32 build.
As a workaround, inserting following 4 lines at line #12 of socket.c solves the problem.
#ifdef _WIN32
#undef socketpair
#define socketpair(a, t, p, s) rb_...
phasis68 (Heesob Park)
04:23 PM Bug #5675: [mingw] static build fails due to socket extension build failure
> compiling ../../../ext/socket/socket.c
> ../../../ext/socket/socket.c: In function 'rsock_sock_s_socketpair':
> ../../../ext/socket/socket.c:114:5: warning: implicit declaration of function 'socketpair'

This warning shouldn't...
kosaki (Motohiro KOSAKI)
04:36 AM Bug #5675 (Closed): [mingw] static build fails due to socket extension build failure
I get the following failure on my Win7 32bit system while trying to build ruby_1_9_3@33661 The problem likely exists on trunk@33852 but #5674 blocks me from trying to replicate.
Providing `--with-out-ext=socket` to `./configure` is a ...
jonforums (Jon Forums)
11:49 PM Feature #5562: Improvement of Windows IO performance
Hello,
Bumping this.
Hiroshi Shirosaki: can you upload a newer patch against latest trunk?
Usaku NAKAMURA: Can I apply Hiroshi's patch to trunk once is updated?
Thank you.
luislavena (Luis Lavena)
10:47 PM Feature #5583: Optionally typing
Belhorma Bendebiche wrote:
> I don't think that duck typing is an issue with optional static typing.
> ...
A clash between static and dynamic typing can be observed like this (i think there can be more realistic cases):
```ruby
def...
alexeymuranov (Alexey Muranov)
07:36 PM Feature #5583: Optionally typing
I don't think that duck typing is an issue with optional static typing.
1) It doesn't happen at runtime
2) It only happens if you pass a flag to the interpreter
1) is obvious, the whole point of static typing is that your program ...
amro256 (Belhorma Bendebiche)
10:16 PM Bug #5598 (Assigned): man pages are in mdoc format
=begin
HI George,
Thank you for your patch. I'll take a look at this issue.
=end
yugui (Yuki Sonoda)
05:10 PM Bug #5676: miniruby linking error: undefined reference to ___stack_chk_guard
The issue occurs on mingw too, and is solved by the patch.
But miniruby.exe still can't execute.
miniruby.exe: error while loading shared libraries: libssp-0.dll: cannot open shared object file: No such file or directory
I think -...
nobu (Nobuyoshi Nakada)
04:10 PM Bug #5676 (Assigned): miniruby linking error: undefined reference to ___stack_chk_guard
It works fine. nobu (Nobuyoshi Nakada)
02:23 PM Bug #5676: miniruby linking error: undefined reference to ___stack_chk_guard
> I get what I think is a linking error when linking miniruby.
> Below is a (shortened) copy of the output I get. This is on
> a clean checkout of trunk (using Ruby 1.8.7 as baseruby).
>
> duerst@jougashima /cygdrive/c/Data/ruby-pub...
kosaki (Motohiro KOSAKI)
12:48 PM Bug #5676 (Closed): miniruby linking error: undefined reference to ___stack_chk_guard
I get what I think is a linking error when linking miniruby.
Below is a (shortened) copy of the output I get. This is on
a clean checkout of trunk (using Ruby 1.8.7 as baseruby).
duerst@jougashima /cygdrive/c/Data/ruby-public
$ mak...
duerst (Martin Dürst)
02:23 PM Bug #5674: [mingw] build failure due to win/win32.c `rb_w32_getc`
> While building trunk@33852 using TDM-GCC v4.5.2 I get the following failure:
>
> C:\Users\Jon\Documents\RubyDev\ruby-git\build>sh -c "../configure --disable-shared --disable-install-doc && make"
> ...
> compiling ../missing/ff...
kosaki (Motohiro KOSAKI)
01:55 PM Bug #5674 (Closed): [mingw] build failure due to win/win32.c `rb_w32_getc`
This issue was solved with changeset r33859.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: revert r33832 and r33833. [ruby-core:41313] [Bug #...
kosaki (Motohiro KOSAKI)
04:08 AM Bug #5674 (Closed): [mingw] build failure due to win/win32.c `rb_w32_getc`
While building trunk@33852 using TDM-GCC v4.5.2 I get the following failure:
C:\Users\Jon\Documents\RubyDev\ruby-git\build>sh -c "../configure --disable-shared --disable-install-doc && make"
...
compiling ../missing/ffs.c
compiling...
jonforums (Jon Forums)
12:27 PM Revision 54382088 (git): * configure.in: added -fno-strict-overflow. it suppress annoying
-Wstrict-overflow warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:06 PM Revision 8cee3121 (git): * io.c (rb_write_error2): get rid of warning on linux. fwrite
of glibc is tagged __attribute__ ((__warn_unused_result__))
if _FORTIFY_SOURCE != 0.
* vm_dump.c (rb_vm_bugreport): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:09 AM Revision 9b58c2ed (git): * configure.in (stack_protector): disable on mingw. [Bug#5676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:54 AM Revision 41f756ea (git): * Makefile.in (DLDFLAGS): also needs -fstack-protector.
[Bug#5676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:25 AM Revision c4cd97a5 (git): * configure.in (-fstack-protector): also needed in DLDFLAGS.
[Bug#5676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:26 AM Revision 929e69fd (git): * configure.in: whitespace-cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:24 AM Revision a072b2df (git): * configure.in: whitespace-cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:24 AM Revision 0a420f22 (git): * thread_pthread.c (add_signal_thread_list): suppress warning for
unused function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:24 AM Revision 2d14b798 (git): * insns.def (pop): suppress self-assign warning of clang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:15 AM Revision a4d38dae (git): * configure.in: add -fstack-protector into XLDFLAGS as well as
XCFLAGS if stack-protector is used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:50 AM Revision 63e65fd4 (git): fix typos and minor edit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:22 AM Revision ef05fbd0 (git): * ext/tk/tcltklib.c (eventloop_sleep): unused.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:20 AM Revision 358216cf (git): An address can be negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:13 AM Bug #5194: exceptions caught compiling with clang 2.1 on OSX 10.7
I have the same issue. New MacBook Air, installed Xcode 4.2 through Appstore, never had GCC installed. I have not compiled anything else, modified my environment, or any special setup. It's a brand new machine.
Ruby 1.9.3-p0 (http://ftp...
cakepie (Cake Pie)
04:55 AM Revision ed78271c (git): * configure.in: revert r33832 and r33833. [ruby-core:41313] [Bug #5674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:30 AM Revision 0e28532a (git): * configure.in: workaround to avoid MacOS X build error.
Maybe autoconf 2.61 is slightly buggy. [ruby-core:41316]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:54 AM Revision 5fa2d2b7 (git): Run the test only if /dev/tty exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

11/26/2011

11:53 PM Bug #5547: Cleanup engine after a test
Yui NARUSE wrote:
> OK.
> ...
Great, thanks!
MartinBosslet (Martin Bosslet)
11:49 PM Bug #5547: Cleanup engine after a test
Martin Bosslet wrote:
> Yui NARUSE wrote:
> ...
OK.
If another issue happens, I make another ticket.
naruse (Yui NARUSE)
11:43 PM Bug #5547 (Closed): Cleanup engine after a test
Yui NARUSE wrote:
> Martin Bosslet wrote:
> ...
...
> > This removes side effects from differing "default engines" or at least it should
> ...
Thanks, and thanks for your comments. The effort to switch to "openssl engine"-only
was m...
MartinBosslet (Martin Bosslet)
11:27 PM Bug #5547: Cleanup engine after a test
Martin Bosslet wrote:
> Yui NARUSE wrote:
> ...
Yeah, I agree.
Note that it should do only if possible with reasonable effort.
naruse (Yui NARUSE)
11:11 PM Bug #5547: Cleanup engine after a test
Yui NARUSE wrote:
> Yes, the phenomenon, the result of above code will change after OpenSSL::Engine.load on NetBSD current,
> ...
I agree, and the side effect won't give us reproducible results anyway as your
example with cryptodev ha...
MartinBosslet (Martin Bosslet)
03:01 PM Bug #5547: Cleanup engine after a test
Yes, the phenomenon, the result of above code will change after OpenSSL::Engine.load on NetBSD current,
itself should be cryptodev's problem.
But the test is against a principle that a test shouldn't have side effects.
It has clearly ...
naruse (Yui NARUSE)
11:05 AM Bug #5547 (Third Party's Issue): Cleanup engine after a test
It's OpenSSL itself that causes the weird behaviour.

On my machine with no cryptodev installed, I get the expected
output, so I would assume it's either cryptodev itself or at
least the cryptodev ENGINE implementation of OpenSSL th...
MartinBosslet (Martin Bosslet)
10:49 PM Revision 7d11b9e2 (git): * configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly
with gcc 4.4 or later. Their environ is in /usr/libexec/ld-elf.so.1,
so it will be false negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:15 PM Feature #5588: add negation flag (v) to Regexp
Suraj Kurapati wrote:
> Yui NARUSE wrote:
> ...
Ah, you think /v is still wholly negated regexp, i see.
> > Moreover it has a bug, for example over
> ...
This \b hack can only work when "t" and "v" is the same kind.
When replace "...
naruse (Yui NARUSE)
08:44 PM Bug #5545 (Closed): Net::HTTP breaks with https URI objects
This issue was solved with changeset r33849.
Mark, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb (Net::HTTP.get_response): enable use_ssl
if g...
naruse (Yui NARUSE)
08:03 PM Revision b361c5ad (git): Fix typo in r33849.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:59 PM Revision 01a64885 (git): * configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.
FreeBSD's environ is in /usr/libexec/ld-elf.so.1, so it will be
false negative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:59 PM Revision b6b8cc01 (git): * lib/net/http.rb (Net::HTTP::SSL_IVNAMES): rerefix 33701.
SSL_ATTRIBUTES stores names for set_params, they are symbol.
SSL_IVNAMES stores instance variable names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:47 PM Feature #5673: undef_method probably doesn't need to raise an error
I can imagine that raising errors in such cases might be meant to discourage excessive metaprogramming. alexeymuranov (Alexey Muranov)
12:33 PM Feature #5673 (Feedback): undef_method probably doesn't need to raise an error
Is there any significant reason for #undef_method to raise an error if the method is already undefined? If no, then change it to just continue on. It can return true/false to relay if was undefined vs already undefined.
trans (Thomas Sawyer)
03:18 PM Revision e125a38c (git): * 2011-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 PM Revision 5f652716 (git): * io.c (copy_stream_body): use 0666 for permission argument for open.
[ruby-core:40865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:04 PM Revision 0f59228a (git): * test/openssl/test_engine.rb: remove side effect of generic engine
load by explicitly loading software-based "openssl" engine for
all tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
11:44 AM Revision 708d76a3 (git): * lib/net/http.rb (Net::HTTP.get_response): enable use_ssl
if given URI object is https.
patched by Mark Ferlatte [ruby-core:40665] [Bug #5545]
* lib/net/http.rb (Net::HTTP.post_form): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:06 AM Revision 9d4db2d4 (git): * lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): refix 33701.
store instance variable symbol names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:49 AM Bug #5432 (Closed): ruby 1.9.2-p290 ext/openssl build failure on Solaris 10 with Sun Workshop 12.1 or 12.2
This issue was solved with changeset r33843.
Tim, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/extconf.rb: remove checks for available functions.
*...
Anonymous
09:28 AM Bug #5169: Crash on Mac OSX when loading pdflib extension while running from RAILS
Please check this issue again.
Searching for problems in the third party plugin ended in the approach to use a very simple extension to reproduce the probelm.
I ended up in using something very near to the example in "Programming R...
Anonymous
07:38 AM Bug #5671 (Closed): windows でのマルチバイト文字列を含むファイルへの File.chmod
http://hibari.2ch.net/test/read.cgi/tech/1155031689/805-809
で言われていたのですが、Windows 環境で File.chmod に ASCII 範囲外の文字を含むファイル名を渡すと
うまく動作しないようです。
報告された方が行番号で箇所を指摘なさっているので、1.9.3-p0 のソースだろうという憶測を仮定とすると
rb_w32_uchmod で filecp_to_wstr でなく utf8_to_...
wanabe (_ wanabe)
06:53 AM Feature #5662: inject-accumulate, or Haskell's mapAccum*
> new_hash = enum.inject({}) { |h, thing| h[compute_key(thing)] = compute_value(thing); h }
> ...
It's just because you used `[]=`. Use `merge` instead.
new_hash = enum.inject({}) {|h, thing| h.merge compute_key(thing) => compu...
ujihisa (Tatsuhiro Ujihisa)
06:41 AM Revision 5fa9e5c3 (git): * .travis.yml (script): should be ./configure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:39 AM Revision 47463584 (git): * .travis.yml (before_script): wrong name, sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:32 AM Revision 5606f11e (git): * .travis.yml (before-script): autoconf required.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:26 AM Revision c36ee7bd (git): * .travis.yml: Travis enable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
01:54 AM Bug #5670 (Third Party's Issue): Emacs ruby-mode syntax highlighting issue
Hi there,
I'm using Emacs and ruby-mode for editing my Ruby files. ruby-mode, however, doesn't know about the % literals. The following code doesn't get the syntax highlighting I'd expect from it:
=================================...
Quintus (Marvin Gülker)
01:49 AM Revision 41fa4bd7 (git): * ext/openssl/extconf.rb: remove checks for available functions.
* ext/openssl/missing.h: ditto.
Thanks, Tim Mooney for reporting this!
[Bug #5432] [ruby-core:40088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:25 AM Revision bdf357bf (git): * ext/openssl/ossl_ssl.c: add comment on where to find implementation
of OpenSSL::SSL::SSLSocket#session.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)

11/25/2011

09:54 PM Feature #5583: Optionally typing
Excuse me if this thread is not a good place to post this question, but i will appreciate any clarification or a link to an answer.
> What is Duck Typing after all, and how is it supposed to work?
According to Wikipedia:
> ...
B...
alexeymuranov (Alexey Muranov)
08:00 PM Revision b079453d (git): * 2011-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:00 PM Revision 8b83ea9e (git): * configure.in (--no-undefined): RUBY_TRY_CFLAGS does nothing for
linker flags. use RUBY_TRY_LDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:23 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
"autoloading" can still be done by putting the require within a method that
is called only as needed.

The downside of this is that requires get pushed down into deeper levels of
code, making requirements less obvious to devel...
trans (Thomas Sawyer)
12:06 PM Feature #2567: Net::HTTP does not handle encoding correctly
Ricardo Amorim wrote:
> Yui NARUSE wrote:
> ...
As I understand, Brazilian uses Portuguese and it is in ISO-8859-1.
Anyway, I found a description about deciding encoding on http-bis.
http://tools.ietf.org/html/draft-ietf-httpbis-...
naruse (Yui NARUSE)
12:54 AM Feature #2567: Net::HTTP does not handle encoding correctly
Yui NARUSE wrote:
> Is such a string always ISO-8859-1 other than non US/West Europe?
Yes, ISO-8859-1 always fits. I'm mainly accessing Brazilian servers so that explains.
> ...
With some more research, I got to this: http://tools...
mksm (Ricardo Amorim)
12:00 PM Feature #5663: Combined map/select method
Rodrigo Rosenfeld Rosas wrote:
> Nobuyoshi, wouldn't &:even? be equivalent to :even?.to_proc? I just find that the example reads better this way ;)
They are different.
&expr calls #to_proc method on the result of expr, to achieve a ...
nobu (Nobuyoshi Nakada)
11:54 AM Bug #4373 (Third Party's Issue): http.rb:677: [BUG] Segmentation fault
Read http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/ naruse (Yui NARUSE)
11:53 AM Bug #5655 (Third Party's Issue): Segfault in Net::HTTP on OS X Lion
Install openssl with macports or homebrew or something and use it.
See http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/
naruse (Yui NARUSE)
08:02 AM Bug #5459 (Closed): Silence -Wmissing-declarations and -Wold-style-definition warnings in mkmf
This issue was solved with changeset r33834.
Nikolai, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mkmf.rb: get rid of warnings of mkmf.rb if -Wmissing-dec...
kosaki (Motohiro KOSAKI)
02:45 AM Revision aa23f6b9 (git): * io.c (ioctl_narg_len, linux_iocparm_len): reinstantiate linux
specific narg length calculation.
* test/ruby/test_io.rb (test_ioctl_linux2): add new test for old and
unstructured ioctl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:50 AM Feature #5666: Make rb_path2class public
If we expose rb_path2class(char*), we maybe need to expose rb_path_to_class(VALUE) too. because rb_path2class() is convenient and M17N unaware function, and rb_path_to_class() has full power.
Plus, I don't think your proposed doc is v...
kosaki (Motohiro KOSAKI)
01:41 AM Revision 0996ae36 (git): * Makefile.in (EXTLDFLAGS): export it.
* configure.in: add --no-undefined if --enable-shared is specified.
Gentoo enabled this option long time. Also, export EXTLDFALGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)

11/24/2011

11:50 PM Revision 98975ba9 (git): * configure.in: turn on PIE if --enable-shared is not specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
11:06 PM Revision b2eae789 (git): * configure.in: add -fstack-protector. It help to protect us from
stack smashing attack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:04 PM Revision d0e615e2 (git): * configure.in: add -D_FORTIFY_SOURCE=2. It provide some compile
time and runtime check for security.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:02 PM Revision b418bc9b (git): * lib/mkmf.rb: get rid of warnings of mkmf.rb if -Wmissing-declarations
and/or -Wold-style-definition warnings if specified.
Patch by Nikolai Weibull. Thank you! [Bug #5459] [ruby-core:40200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:58 PM Revision 450c2094 (git): * configure.in: remove [read buffer ptr field in FILE structures] check.
ruby 1.9 or later doesn't use stdio at all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:54 PM Revision 746aa6f7 (git): * configure.in: remove [read count field in FILE] check.
ruby 1.9 or later doesn't use stdio at all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:49 PM Revision 1e79a33e (git): * 2011-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:49 PM Revision 5817762f (git): * configure.in: add -Wall always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:20 PM Feature #5669 (Rejected): Random thread scheduling based on a seed
Just a little idea that popped into my head:
Would it be possible to have "random" thread scheduling (based on a seed)? E.g. it spends a little more time in different threads than usual?
This would be very useful for discovering su...
judofyr (Magnus Holm)
08:43 PM Feature #5663: Combined map/select method
How can I find the syntax for highlighting the code in this Redmine instance? rosenfeld (Rodrigo Rosenfeld Rosas)
08:41 PM Feature #5663: Combined map/select method
Nobuyoshi, wouldn't &:even? be equivalent to :even?.to_proc? I just find that the example reads better this way ;)
(1..10).grep(&:even?){|i|i+1}
But anyway, I don't find that "grep" is self-explanatory, although I like the idea of pass...
rosenfeld (Rodrigo Rosenfeld Rosas)
05:49 PM Feature #5663: Combined map/select method
Related methods:
* filter (http://rubyworks.github.com/facets/doc/api/core/Enumerable.html#method-i-filter)
* purge (http://rubyworks.github.com/facets/doc/api/core/Enumerable.html#method-i-purge)
trans (Thomas Sawyer)
04:12 PM Feature #5663: Combined map/select method
=begin
What about:
(1..10).grep(->(i){i.even?}){|i|i+1}
or
(1..10).grep(:even?.to_proc){|i|i+1}
=end
nobu (Nobuyoshi Nakada)
09:54 AM Feature #5663: Combined map/select method
I was just suggesting that maybe avoiding laziness for this case would be less of a trouble since we wouldn't need to worry about thread safety... rosenfeld (Rodrigo Rosenfeld Rosas)
01:53 AM Feature #5663: Combined map/select method
Rodrigo Rosenfeld Rosas wrote:
> Alexey, what about thread safety in this case? Would the selecting return a new object?
I do not know much about threads. I think `#selecting` can return a new object, and `#selecting!` can add lazy ...
alexeymuranov (Alexey Muranov)
12:21 AM Feature #5663: Combined map/select method
Alexey, what about thread safety in this case? Would the selecting return a new object? rosenfeld (Rodrigo Rosenfeld Rosas)
07:53 PM Feature #2567: Net::HTTP does not handle encoding correctly
2011/11/24 Ricardo Amorim <mksm@iddqd.su>:
>
> ...
Is such a string always ISO-8859-1 other than non US/West Europe?
> Well doing some research I've found:
> ...
The sentence seems to talk about fields which allow non ASCII but usually
...
naruse (Yui NARUSE)
01:01 PM Feature #2567: Net::HTTP does not handle encoding correctly
Yui NARUSE wrote:
> It shouldn't effect because URI doesn't include non ASCII character.
> ...
I've seen a few ASP applications that do that. They redirect to a generic error page with an error message as an argument. e.g. below:
Loca...
mksm (Ricardo Amorim)
11:56 AM Feature #2567: Net::HTTP does not handle encoding correctly
Ricardo Amorim wrote:
> Also, response header values encoding are set to ASCII-8BIT. According to this: http://tools.ietf.org/html/rfc2616#section-2.2, it seems the default is ISO-8859-1. Having the values in ASCII-8BIT can cause issues...
naruse (Yui NARUSE)
11:25 AM Feature #2567: Net::HTTP does not handle encoding correctly
Also, response header values encoding are set to ASCII-8BIT. According to this: http://tools.ietf.org/html/rfc2616#section-2.2, it seems the default is ISO-8859-1. Having the values in ASCII-8BIT can cause issues when parsing the "Locati... mksm (Ricardo Amorim)
11:12 AM Feature #2567: Net::HTTP does not handle encoding correctly
Benoit Daloze wrote:
> I think Net::HTTP should not transcode (#encode) the response, just set the right encoding if the information is available.
I agree with the above and with Alex. Net::HTTP should only set the encoding (#force_e...
mksm (Ricardo Amorim)
08:23 AM Feature #2567: Net::HTTP does not handle encoding correctly
(2011/11/24 7:38), Hiroshi Nakamura wrote:
> There's an implementation in open-uri.rb. You'd better check that for merge.

open-uri's is pure HTTP one, mine is HTML5's.

> Just saying above. I have no idea about adding this f...
naruse (Yui NARUSE)
07:53 AM Feature #2567: Net::HTTP does not handle encoding correctly
On Thu, Nov 24, 2011 at 02:15, Yui NARUSE <naruse@airemix.jp> wrote:
> I don't decide whether merge this or not yet, an experimental patch is following:

Good challenge!

There's an implementation in open-uri.rb. You'd better...
nahi (Hiroshi Nakamura)
02:15 AM Feature #2567: Net::HTTP does not handle encoding correctly
I don't decide whether merge this or not yet, an experimental patch is following:
~~~patch
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 1c594e0..0abcaa5 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -2723,6 +2723,...
naruse (Yui NARUSE)
01:57 AM Feature #2567: Net::HTTP does not handle encoding correctly
Eric Hodel wrote:
> So giving the user undetectably garbled text is acceptable to both of you? I wish to clarify.
Yes, as it should be garbled only when the response has a wrong Content-Type, in which case the user needs to check if ...
Eregon (Benoit Daloze)
06:45 PM Bug #5488: autoconf failure on HP-UX/PA
The patch seems didn't work
I still got the error
checking stack growing direction on hppa2.0w... ./configure[14718]: ${rb_cv_stack_grow_dir_hppa2.0w+:}: The specified substitution is not valid for this command.
huhongbo (hongbo hu)
01:30 PM Bug #5657 (Rejected): Constants in included modules aren't visible when defining classes with Class.new
Gary Bernhardt wrote:
> In that case, I think that this can be safely closed.
Thanks for your confirmation.
shugo (Shugo Maeda)
11:34 AM Feature #5582: Allow clone of singleton methods on a BasicObject
=begin
My first attempt:
module Clone
include Kernel
(instance_methods - [:clone, :initialize_clone]).each {|m| undef_method m}
end

b = BasicObject.new
class << b
include ::Clone
def single; "Quack!"; end
...
kernigh (George Koehler)
11:07 AM Revision d7b7f56c (git): * test/openssl/test_engine.rb: use IO#reopen to restore stderr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:05 AM Feature #5658: Wrap mkmf.rb in a module to clean up documentation
It seems same as mine.
Let's try it.
nobu (Nobuyoshi Nakada)
11:00 AM Revision bee4e843 (git): * io.c (rb_io_reopen): re-initialize buffereing mode for stdout and
stderr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:09 AM Bug #5633 (Closed): Suppress output during Engine cipher test
This issue was solved with changeset r33825.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_engine.rb: Suppress output from 'openssl'
...
Anonymous
09:35 AM Feature #5666: Make rb_path2class public
While we're at it, can we create a version of this exposed to Ruby?
Something like Module#path_to_module would be great. We already have a bunch of code in Rails to handle it, but I always wished it was just exposed directly into Ruby.
wycats (Yehuda Katz)
06:53 AM Feature #5666 (Closed): Make rb_path2class public
I would like to make rb_path2class public C api. I've attached a patch to make it happen along with updates to README.EXT and README.EXT.ja. tenderlovemaking (Aaron Patterson)
08:45 AM Feature #4862: Struct#to_hash
Struct does use instance variables, you just can't see them from ruby because they don't start with @ drbrain (Eric Hodel)
08:33 AM Feature #4862: Struct#to_hash
Despite it's implementation, I thought Struct was intended to provide a convenient way to make quick classes. Which is why I assume it would have instance variables. I can understand though that it would be implemented in another fashion... trans (Thomas Sawyer)
07:31 AM Feature #4862: Struct#to_hash
Thomas Sawyer wrote:
> Then again maybe I'm wrong b/c I was just surprised by the fact that a Struct doesn't have (or at least act like it has) instance_variables.
> ...
Yeah, it is implemented with an array stored in the RStruct struc...
Eregon (Benoit Daloze)
05:09 AM Feature #4862: Struct#to_hash
Then again maybe I'm wrong b/c I was just surprised by the fact that a Struct doesn't have (or at least act like it has) instance_variables.
Struct.new(:a).new(1).instance_variables #=> []
trans (Thomas Sawyer)
05:03 AM Feature #4862: Struct#to_hash
A Struct doesn't respond to hardly any Hash methods in general. So `#to_h` seems more appropriate.
trans (Thomas Sawyer)
04:08 AM Feature #4862: Struct#to_hash
def to_hash() Hash[members.zip(values)] end rossmeissl (Andy Rossmeissl)
08:15 AM Bug #5604 (Closed): Remove extra ":" in errors created by ossl_raise
This issue was solved with changeset r33821.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/ossl_pkey_dsa.c: remove redundant colon from error
...
Anonymous
07:29 AM Bug #5598: man pages are in mdoc format
Ruby should use its tool/mdoc2man.rb to convert mdoc format to man format. This is broken because some targets in Makefile forgot to pass --mantype="$(MANTYPE)" to INSTRUBY (tools/rbinstall.rb). Now `make install' and `make install-all' ... kernigh (George Koehler)
04:59 AM Feature #5650: Add rb_enc_raise() to allow C extensions to raise errors with messages with correct encoding
On Mon, Nov 21, 2011 at 10:14, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:

> I agree that exceptions need to consider encodings.
> But I'm curious about your usage.  Which needs the encoding, the format string or arguments to be co...
now (Nikolai Weibull)
03:08 AM Revision 7e35d6fc (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:57 AM Revision d7166624 (git): Merge branch 'fsync-nogvl' into trunk
Conflicts:
ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:09 AM Revision 452b74c1 (git): * test/openssl/test_engine.rb: Suppress output from 'openssl'
engine's RC4 cipher.
[Bug #5633] [ruby-core:41026]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
12:47 AM Feature #5662: inject-accumulate, or Haskell's mapAccum*
Hi,
Edvard Majakari wrote:
> Ok.. I'll give real example to show what is typical use case for us:
> ...
As pointed out, you currently have the choice of:
get_all.each_with_object({}) { |r, h| h[normalize_db_key(r.id, r.name)]...
marcandre (Marc-Andre Lafortune)
12:46 AM Revision 5c7e691e (git): increase difference of priority to avoid false nagative test result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom