Project

General

Profile

Activity

From 06/16/2012 to 06/22/2012

06/22/2012

11:30 PM Revision 0b3b2e88 (git): revert some tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:09 PM Revision 3eafc166 (git): * process.c: use the name "eargp" for struct rb_execarg variables
consistently except for saving process attributes.
* io.c: ditto.
* ext/pty/pty.c: ditto.
git-svn-id: svn+ssh://...
akr (Akira Tanaka)
09:05 PM Bug #5950: open-uri: https redirect fix
Seems like a duplicate of http://bugs.ruby-lang.org/issues/859 jhilden (Jakob Hilden)
07:36 PM Feature #6130: inspect using to_s is pain
Updated patch for the tests according to nobu's comment in https://github.com/eregon/ruby/commit/f9ac4cd1daadd7c37c72... Eregon (Benoit Daloze)
05:47 AM Feature #6130: inspect using to_s is pain
If there are no objections I will commit this Monday (unless Benoit gets a commit bit sooner) drbrain (Eric Hodel)
07:24 PM Bug #6573: Webrick test failures
r

On Fri, Jun 22, 2012 at 1:03 PM, bkabrda (Bohuslav Kabrda) <
[email protected]> wrote:

>
> Issue #6...
Anonymous
06:03 PM Bug #6573: Webrick test failures
Michael, thanks, a very helpful information. I believe that the patch you are proposing is correct, yet I would prefe... Anonymous
05:52 AM Bug #6573: Webrick test failures
It appears that WEBrick::HTTPServlet::CGIHandler (webrick/httpservlet/cgihandler.rb) file embeds RbConfig.ruby into a... mlartz (Michael Artz)
01:09 AM Bug #6573: Webrick test failures
I'm seeing the same behavior with CentOS 6.2, both using your (Fedora's) RPM spec file and building Ruby from scratch... mlartz (Michael Artz)
07:24 PM Bug #6124: remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
Hi,
I put together patch (available in my github [1] fork), which demonstrates on Rake, how the situation could be...
vo.x (Vit Ondruch)
05:26 PM Revision f7fc42a7 (git): * ChangeLog: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
05:23 PM Feature #6609: Toplevel as self extended module
On Fri, Jun 22, 2012 at 3:03 AM, drbrain (Eric Hodel)
<[email protected]> wrote:

> It is easy to create a cle...
now (Nikolai Weibull)
11:40 AM Feature #6609: Toplevel as self extended module
=begin
> These aren't delegated, they are singleton methods which add behavior to make top-self more useful.
...
trans (Thomas Sawyer)
10:03 AM Feature #6609: Toplevel as self extended module
trans (Thomas Sawyer) wrote:
> > There are no method calls on the top-level object in this example. Nothing is deleg...
drbrain (Eric Hodel)
09:31 AM Feature #6609: Toplevel as self extended module
> There are no method calls on the top-level object in this example. Nothing is delegated.
I've been able to find ...
trans (Thomas Sawyer)
03:20 AM Feature #6609: Toplevel as self extended module
trans (Thomas Sawyer) wrote:
> > What is a "partial Object class proxy"? It does not seem to exist. The top-level ob...
drbrain (Eric Hodel)
03:51 PM Revision f120641e (git): * 2012-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:51 PM Revision 5a7db505 (git): .gdbinit: improve rp for class
* .gdbinit (rp): improve for class/iclass/module so print content of
RClass.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
03:20 PM Feature #6626 (Closed): Readline.delete_text
=begin
[Feature #5785]でinsert_textなどが追加されましたが、line_bufferを編集するためにはdelete_textも必要ではないでしょうか。
現状ではline_bufferから文字を削除...
nobu (Nobuyoshi Nakada)
02:08 PM Bug #6625 (Closed): broken Marshal compatibilities on Complex and Rational
=begin
(({Complex})) and (({Rational})) dumped by 1.8 or earlier cannot be loaded by trunk.
$ /usr/bin/ruby -v
...
nobu (Nobuyoshi Nakada)
01:37 PM Revision 91fcdd18 (git): [Bug #6540]
* test/ruby/test_rand.rb (TestRand#test_initialize_frozen): add
missing test for [Bug #6540]
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
01:36 PM Bug #6540 (Closed): marshal_load discards frozen objects
This issue was solved with changeset r36175.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby...
nobu (Nobuyoshi Nakada)
01:36 PM Bug #6541 (Closed): marshal_load discards frozen objects
This issue was solved with changeset r36175.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 48fc3121 (git): lib/test/unit.rb: show file count in parallel mode
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): show file count
in parallel mode. since worker processes ru...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 6e4c8260 (git): lib/test/unit.rb: initialize ivar
* lib/test/unit.rb (Test::Unit::Runner#del_status_line): initialize
@status_line_size if needed.
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:05 PM Revision 5e06b539 (git): * common.mk: Add missing dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
11:30 AM Revision bcadfd9c (git): * internal.h (rb_execarg): add pgroup_given and pgroup_pgid fields.
* process.c (EXEC_OPTION_PGROUP): removed.
(rb_execarg_addopt): update the new fields, instead of options array.
...
akr (Akira Tanaka)
10:15 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
I agree. You can pass both local_ip and local_port to TCPSocket.open in Net::HTTP#connect.
Having the setter expos...
mksm (Ricardo Amorim)
08:43 AM Feature #6617: Net::HTTP: Bind to a specific local IP/port
Bind to a local port like TCPSocket.new does? I'm sure this feature could be added.
I think the easiest way to ad...
drbrain (Eric Hodel)
09:57 AM Feature #6621 (Feedback): Accept a CGI parameter without a value
Why do you need it?
Shouldn't it be an error?
nobu (Nobuyoshi Nakada)
07:58 AM Feature #6621 (Closed): Accept a CGI parameter without a value
So "id" will be treaded like "id="
From https://github.com/ruby/ruby/pull/58
Patch by Michel Martens: https://g...
drbrain (Eric Hodel)
09:52 AM Revision 7b036a8e (git): * README.EXT, README.EXT.ja: use "sval" for the third argument
name of Data_Wrap_Struct().
Suggested by @satoh_fumiyasu. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Sutou Kouhei
09:37 AM Bug #6325 (Closed): Can't install
drbrain (Eric Hodel)
09:32 AM Revision c4bc9b57 (git): * iseq.c, vm_eval.c: set th->base_block properly.
th->base_block is information for (a) parsing, (b) compiling
and (c) setting up the frame to execute the program pa...
ko1 (Koichi Sasada)
09:24 AM Revision 471d8d25 (git): * process.c: pass struct rb_execarg value instead of its options
field for saving process attribute changing functions.
(save_redirect_fd): take a struct rb_execarg argument.
(ru...
akr (Akira Tanaka)
08:58 AM Revision a359da84 (git): * test/ruby/test_backtrace.rb: decrease recursion depth
to reduce consuming stack size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36177 b2dd03c8-39d4-4d8f-98ff-82...
ko1 (Koichi Sasada)
08:23 AM Bug #6623 (Closed): Tracer output does not use Tracer.stdout
Tracer uses Kernel#sprintf ($stdout) instead of the user-configured IO
From: https://github.com/ruby/ruby/pull/111...
drbrain (Eric Hodel)
08:05 AM Feature #6622 (Closed): Add <, >, <=, >= to Set
Each operator is defined as an alias to an existing method.
From https://github.com/ruby/ruby/pull/59
Patch by ...
drbrain (Eric Hodel)
07:53 AM Feature #6620 (Closed): Add &apos; to CGI's HTML escaping
From https://github.com/ruby/ruby/pull/52
Patch by Igor Sales: https://github.com/ruby/ruby/pull/52.diff
drbrain (Eric Hodel)
05:56 AM Bug #6619 (Closed): Fixed Typo in eval.c GH#131
This issue was solved with changeset r36170.
Zachary, thank you for reporting this issue.
Your contribution to Ruby i...
drbrain (Eric Hodel)
01:56 AM Bug #6619 (Closed): Fixed Typo in eval.c GH#131
I've added Trevor's patch to fix a typo in eval.c documentation from https://github.com/ruby/ruby/pull/131 zzak (zzak _)
05:22 AM Revision 407e3274 (git): marshal.c: io_needed
* marshal.c (io_needed): extract from marshal_dump and marshal_load.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
04:36 AM Revision 0b0dea75 (git): random.c: check initialize and load
* random.c (random_init, random_load): cannot initialize frozen object
again, nor with tainted/untrusted object. [...
nobu (Nobuyoshi Nakada)
04:32 AM Revision 77898c33 (git): error.c: rb_check_copyable
* error.c (rb_check_copyable): new function, to ensure the target is
not frozen and the source is not tainted nor u...
nobu (Nobuyoshi Nakada)
03:07 AM Revision 47c6131b (git): process.c: constant expression
* process.c (rb_exec_async_signal_safe): use a constant expression
instead of a macro.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
03:07 AM Revision 52d85c10 (git): variable.c: fix indent
* variable.c (rb_ivar_count, rb_autoloading_value): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36...
nobu (Nobuyoshi Nakada)
02:23 AM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
On Thu, Jun 21, 2012 at 02:41:10PM +0900, vo.x (Vit Ondruch) wrote:
>
> Issue #6592 has been updated by vo.x (Vit...
Anonymous
01:06 AM Bug #6616 (Closed): MinGW: cannot build extensions or run tests due changes in exec_arg?
Thank you Park for the details.
Thank you Akira Tanaka for solving this.
Closing this out.
luislavena (Luis Lavena)
12:29 AM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
On Thu, Jun 21, 2012 at 7:49 AM, Tanaka Akira <[email protected]> wrote:
> 2012/6/21 phasis68 (Heesob Park) <phasis@gmai...
luislavena (Luis Lavena)

06/21/2012

08:56 PM Revision fb120181 (git): * 2012-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:56 PM Revision 62df750a (git): * eval.c (ruby_cleanup): Fixed typo. Patch by Trever Dawe.
Fixes #131 (github). [ruby-trunk - Bug #6619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36170 b2dd03c8-39d...
drbrain (Eric Hodel)
07:53 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
2012/6/21 phasis68 (Heesob Park) <[email protected]>:
>
> Issue #6616 has been updated by phasis68 (Heesob Park)....
akr (Akira Tanaka)
07:32 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
I think r36161 is not related with this issue.
After applying r36161, this issue is not fixed.
C:\work\snapshot>m...
phasis68 (Heesob Park)
07:23 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
2012/6/21 Tanaka Akira <[email protected]>:
> 2012/6/21 luislavena (Luis Lavena) <[email protected]>:
>
>> Bug #...
akr (Akira Tanaka)
01:53 PM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
2012/6/21 luislavena (Luis Lavena) <[email protected]>:

> Bug #6616: MinGW: cannot build extensions or run t...
akr (Akira Tanaka)
11:21 AM Bug #6616: MinGW: cannot build extensions or run tests due changes in exec_arg?
Here is a simple code for the cause of this issue.
C:\work>ruby -ve "system('dir')"
ruby 2.0.0dev (2012-06-21 tru...
phasis68 (Heesob Park)
09:55 AM Bug #6616 (Assigned): MinGW: cannot build extensions or run tests due changes in exec_arg?
luislavena (Luis Lavena)
09:55 AM Bug #6616 (Closed): MinGW: cannot build extensions or run tests due changes in exec_arg?
Hello,
Originally reported in [ruby-core:45727] due Redmine being down.
Latest trunk revision (r36154) is faili...
luislavena (Luis Lavena)
07:42 PM Feature #6609: Toplevel as self extended module
> What is a "partial Object class proxy"? It does not seem to exist. The top-level object (rb_vm_top_self) is an inst... trans (Thomas Sawyer)
03:56 PM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
This second patch moves the entire run loop outside the GVL, but messes with the internals of String to expand z->buf... drbrain (Eric Hodel)
11:53 AM Feature #6615: Release GVL in zlib when calling inflate() or deflate()
"drbrain (Eric Hodel)" <[email protected]> wrote:
> I don't see a way to safely interrupt deflate() or inflate(...
normalperson (Eric Wong)
09:20 AM Feature #6615 (Closed): Release GVL in zlib when calling inflate() or deflate()
This patch switches from zstream_run from using rb_thread_schedule() to rb_thread_blocking_region().
I don't see a...
drbrain (Eric Hodel)
02:41 PM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
> I think we need to delete the CFunc code. The problem with that class
> is we cannot tell the return type, so i...
vo.x (Vit Ondruch)
01:53 AM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
On Thu, Jun 14, 2012 at 09:54:41PM +0900, vo.x (Vit Ondruch) wrote:
>
> Issue #6592 has been updated by vo.x (Vit...
Anonymous
02:34 PM Bug #5060 (Assigned): Executables in bin folder conflict with their gem versions.
Sorry, I'm reopening, but the issue is still present.
When you install Ruby, it carries initial version of /usr/bi...
vo.x (Vit Ondruch)
01:46 PM Revision c7a68e8d (git): needless RB_GC_GUARD removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:46 PM Revision 13ffa4c6 (git): remove garbage line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:18 PM Revision ed8040a6 (git): * process.c (rb_execarg_addopt): take a VALUE argument instead of
struct rb_execarg.
(rb_exec_arg_addopt): follow the rb_execarg_addopt change.
(check_exec_options_i): ditto.
* i...
akr (Akira Tanaka)
11:36 AM Revision 511e25b2 (git): * process.c (rb_exec_fillarg): take a VALUE argument instead of
struct rb_execarg.
(rb_check_exec_options): ditto.
(check_exec_options_i): ditto.
git-svn-id: svn+ssh://ci.rub...
akr (Akira Tanaka)
11:15 AM Feature #6617 (Closed): Net::HTTP: Bind to a specific local IP/port
Despite having several solutions floating around the net, this feature is currently not present in Net::HTTP. I searc... mksm (Ricardo Amorim)
10:48 AM Revision 1b2c2316 (git): * process.c (rb_exec_async_signal_safe): use rb_execarg_run_options
instead of rb_run_exec_options_err.
(rb_spawn_process): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
akr (Akira Tanaka)
10:03 AM Bug #6614: GC doesn't collect objects bound to (collectable) proc
=begin
A correction.
Your code uses (({print})) but not (({printf})), so the arguments cannot be optimized out, even...
nobu (Nobuyoshi Nakada)
09:33 AM Bug #6614 (Rejected): GC doesn't collect objects bound to (collectable) proc
=begin
Finalizers will run ((*AFTER*)) the target object has been destroyed and collected, so finalizers ((*MUST NOT*...
nobu (Nobuyoshi Nakada)
08:24 AM Bug #6614 (Rejected): GC doesn't collect objects bound to (collectable) proc
Hello all.
Previously discussed here: http://www.ruby-forum.com/topic/4402823
I would expect the following code t...
rogerdpack (Roger Pack)
10:03 AM Revision 0a431f69 (git): * process.c (rb_exec_fillarg): take a VALUE argument instead of
struct rb_execarg.
(rb_execarg_init): follow the rb_exec_fillarg change.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
akr (Akira Tanaka)
10:01 AM Revision 129cad73 (git): remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:39 AM Revision 46e23dc0 (git): * process.c (rb_execarg_init): take a VALUE argument instead of
struct rb_execarg.
(rb_execarg_new): follow the rb_execarg_init change.
(rb_exec_arg_init): ditto.
* internal.h ...
akr (Akira Tanaka)
08:20 AM Revision 64ae33a1 (git): parse.y: fix GC problem of keyword rest argument
* parse.y (new_args_tail_gen): fix GC problem of keyword rest
argument. the wrapped struct should be bound to the ...
nobu (Nobuyoshi Nakada)
07:54 AM Feature #6613 (Assigned): VT_RECORD, IRecordInfo Support in WIN32OLE
WIN32OLE has no support for VT_RECORD VARIANTS. Python and Perl use the
functions GetRecordInfoFromTypeInfo and Get...
dsisnero (Dominic Sisneros)
06:23 AM Feature #6611: Comments requested on implementation of set_parse_func
Bump.

Please comment on <https://bugs.ruby-lang.org/issues/6611>.
I need to finish this implementation, and the ...
cjheath (Clifford Heath)
05:08 AM Revision b8b67c0b (git): process.c: fix type
* process.c (rb_spawn_internal): fix type of a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@361...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 21e1939d (git): merge revision(s) 35625: [Backport #6618]
* thread.c (rb_threadptr_execute_interrupts_common):
test_signal_requiring of test/ruby/test_signal.rb fail...
naruse (Yui NARUSE)
01:53 AM Bug #6531: Increase Racc runtime versions
On Sat, Jun 02, 2012 at 10:42:45PM +0900, zzak (Zachary Scott) wrote:
>
> Issue #6531 has been reported by zzak (...
Anonymous

06/20/2012

10:25 PM Revision 0cfee328 (git): * error.c (err_append): rename err_append() to compile_err_append()
and move definition body. err_append() is used only by compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
ko1 (Koichi Sasada)
09:25 PM Revision d73d3a74 (git): * process.c (rb_execarg_fixup): take a VALUE argument instead of
struct rb_execarg.
* internal.h (rb_execarg_fixup): follow the definition change.
* io.c (pipe_open): follow rb_exe...
akr (Akira Tanaka)
04:36 PM Bug #6576 (Closed): shared library references _environ macosx Lion
This issue was solved with changeset r36151.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
04:35 PM Bug #6576: shared library references _environ macosx Lion
Does /usr/local/bin/ruby fail too?
What does `otool -L /usr/local/bin/ruby` show?
nobu (Nobuyoshi Nakada)
03:43 PM Feature #6612: Add streaming inflate and deflate to Zlib
Oops, I uploaded the wrong patch. drbrain (Eric Hodel)
03:35 PM Feature #6612 (Closed): Add streaming inflate and deflate to Zlib
=begin
Currently there is no way to control the inflate output size of a deflate stream from ruby. For example, 50M...
drbrain (Eric Hodel)
03:27 PM Revision 06feb7b0 (git): * 2012-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:27 PM Revision 4abc869c (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:27 PM Revision 5309af97 (git): * internal.h (struct rb_execarg): add umask_given and umask_mask
fields.
* process.c (STATIC_ASSERT): removed.
(rb_execarg_addopt): follow the rb_execarg change.
(rb_execarg_run...
akr (Akira Tanaka)
11:46 AM Revision b60713de (git): * internal.h (struct rb_execarg) moved and renamed from
struct rb_exec_arg in intern.h.
* include/ruby/intern.h (struct rb_exec_arg): refer Data object which
contains str...
akr (Akira Tanaka)
10:31 AM Revision 826f98e6 (git): * internal.h (rb_execarg_new): declared.
(rb_execarg_get): ditto.
* process.c (mark_exec_arg): new function.
(free_exec_arg): ditto.
(memsize_exec_arg): ...
akr (Akira Tanaka)
07:46 AM Feature #6611 (Assigned): Comments requested on implementation of set_parse_func
Folk,

I've implemented Twister, a new mutation testing tool to replace Heckle.
It relies on a new hook into t...
cjheath (Clifford Heath)
07:36 AM Revision 2741a598 (git): setproctitle.c: _NSGetEnviron
* missing/setproctitle.c (environ): use (*_NSGetEnviron()) instead of
environ on Darwin for namespace cleanness, sa...
nobu (Nobuyoshi Nakada)
07:23 AM Feature #5663: Combined map/select method
Em 19-06-2012 17:32, Roger Pack escreveu:
>> How about `#map_some` as the name?
> #map_if ?

I loved this on...
rosenfeld (Rodrigo Rosenfeld Rosas)
06:31 AM Revision 50aab6d4 (git): numeric.c: optimize
* numeric.c (positive_int_p, negative_int_p): optimize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36150 b2dd...
nobu (Nobuyoshi Nakada)
06:31 AM Revision f96afe18 (git): * numeric.c (positive_int_p, negative_int_p): extracted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:10 AM Bug #6606: default_external encoding and STDOUT and UTF-8
kosaki (Motohiro KOSAKI) wrote:
> 2012/6/19 naruse (Yui NARUSE) <[email protected]>:
> >
> > Issue #6606 has bee...
naruse (Yui NARUSE)
04:23 AM Bug #6606: default_external encoding and STDOUT and UTF-8
2012/6/19 naruse (Yui NARUSE) <[email protected]>:
>
> Issue #6606 has been updated by naruse (Yui NARUSE).
>
...
kosaki (Motohiro KOSAKI)
05:57 AM Feature #6609: Toplevel as self extended module
trans (Thomas Sawyer) wrote:
> As promised sometime back here is my proposal that Toplevel object become a self-exte...
drbrain (Eric Hodel)
03:59 AM Bug #6610 (Closed): Fix Benchmark.benchmark output with an empty caption
Hello,
I noticed Benchmark.benchmark output with an empty caption has an extra space.
This is due to my change in...
Eregon (Benoit Daloze)
02:33 AM Revision 5a24475a (git): process.c: fixnum umask
* process.c (rb_execarg_addopt): always make Fixnum, and ignore higher
bits in too large umask value.
git-svn-id:...
nobu (Nobuyoshi Nakada)
02:24 AM Revision 5fe80658 (git): lib/test/unit.rb: workers sudden-death
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): deal with
sudden-death of workers.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)

06/19/2012

09:58 PM Feature #6609 (Closed): Toplevel as self extended module
As promised sometime back here is my proposal that Toplevel object become a self-extended module instead of the curre... trans (Thomas Sawyer)
09:50 PM Revision 51c44ab1 (git): * time.c (init_leap_second_info): fix non-ANSI function declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:50 PM Revision 6d69c3b0 (git): * ruby.c (rb_f_sub): use ansi style declaration.
* ruby.c (rb_f_gsub): ditto.
* ruby.c (rb_f_chomp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36145 b...
kosaki (Motohiro KOSAKI)
09:49 PM Revision a57cbd7b (git): * random.c (rb_random_int32): get rid of "warning: constant 0x100000000
is so big it is long" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36144 b2dd03c8-39d4-4d8f-98ff-823fe...
kosaki (Motohiro KOSAKI)
09:49 PM Revision 90217772 (git): * dir.c (dir_initialize): get rid of "unused return: argc = rb_scan_args()"
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:24 PM Revision 7339e678 (git): * include/ruby/missing.h: include math.h before checking INFINITY
and NAN. Otherwise, strange macro redefinition will occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36142 b...
kosaki (Motohiro KOSAKI)
09:24 PM Revision 3307d65d (git): * 2012-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:24 PM Revision 2fe6bd9a (git): * array.c (ary_reverse): use ansi style declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:08 PM Feature #6594: Integrated Functor
@prijutme4ty Your link appears to be broken, but I am glad to see your interest on HOM. I would need to know more abo... trans (Thomas Sawyer)
08:02 PM Bug #6608 (Rejected): File.join behavior
Hello,
I would like to know if the current behavior of File.join is intended, and what should be its specification...
Eregon (Benoit Daloze)
06:42 PM Bug #6606: default_external encoding and STDOUT and UTF-8
shyouhei (Shyouhei Urabe) wrote:
> なぜ、そうなっているかを聞いていいですか?
>
> STDOUTは他のIOオブジェクトと違って最初から勝手に開かれているので、最初からエンコーディングを指定...
naruse (Yui NARUSE)
05:09 PM Bug #6606: default_external encoding and STDOUT and UTF-8
なぜ、そうなっているかを聞いていいですか?
STDOUTは他のIOオブジェクトと違って最初から勝手に開かれているので、最初からエンコーディングを指定して開ける方法が(-Eでなくてもよいので)提供されていた方がよいかとおもいます。
shyouhei (Shyouhei Urabe)
04:57 PM Bug #6606 (Rejected): default_external encoding and STDOUT and UTF-8
現在の仕様通りです。
$stdoutのexternal encoding に明示的に EUC-JP を設定すると変換されるようになります。
naruse (Yui NARUSE)
04:21 PM Bug #6606 (Rejected): default_external encoding and STDOUT and UTF-8
=begin
微妙なので意図どおりに動いているなら申し訳ない、以下のように -Eを指定してもUTF-8文字列がUTF-8のままで出力されてくるのは「そういうもの」ですか?
LANG=C ruby -Eeuc-jp -e'pu...
shyouhei (Shyouhei Urabe)
03:42 PM Bug #6603: FileUtils::touchで更新時刻,アクセス時刻がミリ秒単位で記録されない(FreeBSD/amd64)
ありがとうございます。
send-prしてみます。
skoba (Shinji KOBAYASHI)
10:08 AM Bug #6603 (Third Party's Issue): FileUtils::touchで更新時刻,アクセス時刻がミリ秒単位で記録されない(FreeBSD/amd64)
Ruby の File.utime(nil, nil, path) は utimes(path, NULL) を呼んでいるだけなので、
FreeBSD の utimes(2) の問題です。
以下を実行すると、現在秒までしか設定され...
naruse (Yui NARUSE)
01:58 PM Revision 17e97a9b (git): * object.c: Fix typo in rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:07 PM Bug #6262 (Closed): [readline] reverse-i-search with multibyte chars
naruse (Yui NARUSE)
12:29 PM Bug #6262: [readline] reverse-i-search with multibyte chars
=begin
r36123 でこちらの挙動も直っているように思います。
# encoding: UTF-8
require "readline"

RUBY_DESCRIPTION # => "ruby 2.0...
no6v (Nobuhiro IMAI)
12:22 PM Bug #6604 (Closed): trunkでtest-all が完走しない (-j 使用時のみ)
make test-all TESTS="-j8 -v -q" すると、LinuxでもMacでも以下のエラーが出て完走しません
TestGemCommandsHelpCommand#test_gem_no_args_show...
kosaki (Motohiro KOSAKI)
12:05 PM Feature #5785 (Closed): Readline に pre_input_hook, insert_text, redisplay を追加
This issue was solved with changeset r36131.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby ...
naruse (Yui NARUSE)
12:00 PM Bug #5423 (Closed): readlineの入力待機中に端末のウィンドウサイズ変更すると入力内容が乱れる
This issue was solved with changeset r36130.
Takuto, thank you for reporting this issue.
Your contribution to Ruby is...
naruse (Yui NARUSE)
11:58 AM Bug #6601 (Closed): [readline] Alt-* commands do not work in reverse-i-search
This issue was solved with changeset r36127.
Tay, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
09:01 AM Bug #6601 (Assigned): [readline] Alt-* commands do not work in reverse-i-search
=begin
This breaks compilation on OS X 10.7 with editline:
compiling readline.c
readline.c:177:22: error: use of...
drbrain (Eric Hodel)
09:43 AM Revision c50f91f3 (git): [Bug #6607]
* include/ruby/backward/rubysig.h: fix visibility. [Bug #6607]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36...
nobu (Nobuyoshi Nakada)
09:22 AM Revision bdfd26b7 (git): lib/test/unit/parallel.rb: new method to report to the parent
* lib/test/unit/parallel.rb (Test::Unit::Worker#_report): extract
method to report to the parent process
git-svn-i...
nobu (Nobuyoshi Nakada)
09:21 AM Revision ab9560c9 (git): ext/readline/extconf.rb: no global names
* ext/readline/extconf.rb (readline): get rid of polluting global
namespace.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
09:14 AM Revision a60fe909 (git): fix async-signal-safe comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:51 AM Revision 52b497d8 (git): process.c: no method calls in async-signal-safe
* process.c (rb_execarg_run_options): do not call any methods in the
async-signal-safe function. mask has been che...
nobu (Nobuyoshi Nakada)
06:30 AM Revision 6696fd0c (git): Skip on non UTF-8 locale.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:15 AM Revision 9c6ae17a (git): Add test for [Bug #6262]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:05 AM Revision 2418f9cc (git): Skip Readline 4.3. [Feature #5785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:00 AM Revision 5f883990 (git): * ext/readline/readline.c (Init_readline): don't set 0 to
rl_catch_signals and rl_catch_sigwinch. [Bug #5423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36130 b2dd03c8...
naruse (Yui NARUSE)
02:58 AM Revision 44058a73 (git): * 2012-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:58 AM Revision e47c4e38 (git): * ext/readline/readline.c (readline_s_get_special_prefixes): suppress
warning: unitinialized instance variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36128 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
02:58 AM Revision d998ba1c (git): * ext/readline/readline.c (readline_getc): fix editline compatibility
broken by r36123. [Bug #6601]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36127 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)

06/18/2012

11:53 PM Feature #6596: New method `Array#indexes`
Em 17-06-2012 13:47, trans (Thomas Sawyer) escreveu:
> Yea, I would have written is completely different myself (e...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:23 PM Feature #6596: New method `Array#indexes`
On 18/06/12 04:25, knu (Akinori MUSHA) wrote:
>
> Issue #6596 has been updated by knu (Akinori MUSHA).
>
>
...
regularfry (Alex Young)
12:25 PM Feature #6596: New method `Array#indexes`
=begin
You are changing the subject. This issue is about Array#indexes, and if you talk about generalization, you s...
knu (Akinori MUSHA)
05:28 AM Feature #6596: New method `Array#indexes`
I don't see any reason it can't return an Enumerator.
My last example doesn't iterate over it.
#select_indexes ...
trans (Thomas Sawyer)
04:07 AM Feature #6596: New method `Array#indexes`
Since we introduced Enumerator (and Enumerable::Lazy recently) we are skeptic about adding a new method returning a c... knu (Akinori MUSHA)
01:47 AM Feature #6596: New method `Array#indexes`
Yea, I would have written is completely different myself (even from yours). All I did was search GitHub for #each_wit... trans (Thomas Sawyer)
11:51 PM Bug #6603 (Third Party's Issue): FileUtils::touchで更新時刻,アクセス時刻がミリ秒単位で記録されない(FreeBSD/amd64)
ファイルの作成時刻・更新時刻がミリ秒単位で反映されるかどうかは処理系に依存しているとのことですが,
下記のように,touchを利用してファイルを作成した場合はミリ秒単位で記録されるますが,さらにtouchを
利用して更新時刻を記録...
skoba (Shinji KOBAYASHI)
09:53 PM Feature #6602: Tail call optimization: enable by default?
(2012/06/18 20:29), trans (Thomas Sawyer) wrote:
> However, in the the case of tail-recursion, it could be ok since...
ko1 (Koichi Sasada)
08:29 PM Feature #6602: Tail call optimization: enable by default?
I'd rather have the backtrace information and depend on Moore's law for "enhancements".
However, in the the case o...
trans (Thomas Sawyer)
06:05 PM Feature #6602 (Feedback): Tail call optimization: enable by default?
Hi,
Some hours ago, Matz proposed turning on "tail call optimization" by default from Ruby 2.0.
What do you thi...
ko1 (Koichi Sasada)
10:43 AM Bug #6601 (Closed): [readline] Alt-* commands do not work in reverse-i-search
This issue was solved with changeset r36123.
Tay, thank you for reporting this issue.
Your contribution to Ruby is gr...
nobu (Nobuyoshi Nakada)
10:08 AM Feature #6594: Integrated Functor
I agree that high-order messaging can be very useful. But functor concept and usage is rather complex that makes it h... prijutme4ty (Ilya Vorontsov)
09:53 AM Revision d761c9b1 (git): merge revision(s) 32605:32610:
* backport r32609 from trunk.
* ext/openssl/ossl_hmac.c: Revert checking return type of
HMAC_Init_e...
shyouhei (Shyouhei Urabe)
09:13 AM Revision bcc4c408 (git): unreachable
* ext/-test-/exception/enc_raise.c (enc_raise): unreachable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36125...
nobu (Nobuyoshi Nakada)
08:10 AM Revision 3137b081 (git): rb_str_subpos
* string.c (rb_str_subpos): split from rb_str_substr. returns
adjusted position for substring.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
01:43 AM Revision e2ad92a0 (git): ext/readline/readline.c: [Bug #6601]
* ext/readline/readline.c (readline_getc): deal with ESC just followed
by ASCII as meta prefix in incremental searc...
nobu (Nobuyoshi Nakada)

06/17/2012

11:02 PM Feature #6596: New method `Array#indexes`
=begin
Assuming the return value has no meanings.
@table.any? do |row|
if cindex = row.index(nil)
row[ci...
nobu (Nobuyoshi Nakada)
10:39 PM Feature #6596: New method `Array#indexes`
=begin
https://github.com/apillet/invaders/blob/ab32d1704e20cfffe472458b04c16ce82353dabe/classes/enemy_grid.rb
...
trans (Thomas Sawyer)
11:24 AM Feature #6596: New method `Array#indexes`
@trans That's what it does, not a use case. I am questioning you how it is useful to get an array of indices. knu (Akinori MUSHA)
06:27 AM Feature #6596: New method `Array#indexes`
=begin
@knu I think you have already pointed out the usecase. Wherever someone is using #each_with_index which conta...
trans (Thomas Sawyer)
06:46 PM Bug #6601 (Assigned): [readline] Alt-* commands do not work in reverse-i-search
nobu (Nobuyoshi Nakada)
05:26 PM Bug #6601: [readline] Alt-* commands do not work in reverse-i-search
Oops, forgot to enter a proper title/subject. Can someone with sufficient privileges update it to
[readline] Alt...
rctay (Tay Ray Chuan)
05:23 PM Bug #6601 (Closed): [readline] Alt-* commands do not work in reverse-i-search
=begin
= Steps to reproduce
Below are the steps to reproduce from an (({irb})) session. ^ is used to denote the cur...
rctay (Tay Ray Chuan)
04:38 PM Bug #6600 (Closed): Should Module#constants retain insertion order?
No. nobu (Nobuyoshi Nakada)
01:09 PM Bug #6600 (Closed): Should Module#constants retain insertion order?
=begin
This is pointed out in ((<URL:http://bugs.jruby.org/6733>)).
Should (({Module#constants})) maintain the or...
hasari (Hiro Asari)
03:38 PM Revision 90e812e8 (git): * 2012-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 PM Revision 7690aab8 (git): test/readline/test_readline.rb: fix argument order
* test/readline/test_readline.rb (TestReadline#test_pre_input_hook)
(TestReadline#test_insert_text): fix argument o...
nobu (Nobuyoshi Nakada)
01:23 PM Revision 406a9fc5 (git): documentation for Dir.exist?
* dir.c (rb_file_directory_p): move documentation for Dir.exist? from
file.c so that the proper description will be...
nobu (Nobuyoshi Nakada)
07:21 AM Revision cdeff42c (git): thread_win32.h: rb_thread_lock_t for USE_WIN32_MUTEX
* thread_win32.h (rb_thread_lock_t): make a union for USE_WIN32_MUTEX.
this internal is used only in thread_win32.c...
nobu (Nobuyoshi Nakada)
07:20 AM Revision 3c566456 (git): thread_win32.c: USE_WIN32_MUTEX
* thread_win32.c (native_mutex_lock, native_mutex_destroy): fix for
USE_WIN32_MUTEX.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
07:20 AM Revision dc320f43 (git): * 2012-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:20 AM Revision 34b6d066 (git): thread_win32.c: reserved pattern name
* thread_win32.c (native_cond_timedwait_ms): rename reserved pattern
name. user defined symbols should not start w...
nobu (Nobuyoshi Nakada)
12:06 AM Feature #6594: Integrated Functor
@trans I wasn't claiming that it wasn't possible for those interested on the feature to find real-case examples about... rosenfeld (Rodrigo Rosenfeld Rosas)

06/16/2012

04:42 PM Feature #6596 (Feedback): New method `Array#indexes`
You haven't shown any real use case yet.
I don't deny that the functionality alone would be a good shortcut itself j...
knu (Akinori MUSHA)
03:28 AM Feature #6596: New method `Array#indexes`
@kyu Try doing the equivalent of #indexes without it. Not that it's especially hard, but you have to stop and work ou... trans (Thomas Sawyer)
12:09 AM Feature #6596: New method `Array#indexes`
Hello Knu,
Array#rindex return the last occurrence of the parameter. Array#indexes return all of the indexes.
>...
robin850 (Robin Dupret)
03:05 PM Bug #6547 (Rejected): DateTime.new does not call #initialize
i believe this is not a bug.
it's expensive/slow to call initialize.
on DateTime, new is one of various constractor...
tadf (tadayoshi funaba)
10:25 AM Revision 7cc92034 (git): * ext/date/date_core.c: define date_sg_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:49 AM Revision f5b033cd (git): * ext/date/date_tmx.h: offset in struct tmx_funcs is now int.
* ext/date/date_strftime.c: ditto.
* ext/date/date_core.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
Tadayoshi Funaba
09:31 AM Revision 07784c78 (git): eval.c: move running
* eval.c (ruby_setup): set running state in the normal case before
popping a tag.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
07:25 AM Feature #6594: Integrated Functor
@resenfeld Well, I thought the examples I provided were pretty good ones. The links I provided also give some example... trans (Thomas Sawyer)
07:12 AM Bug #6598 (Closed): tool/runruby.rb の File.realpath
This issue was solved with changeset r36107.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
12:54 AM Bug #6598 (Closed): tool/runruby.rb の File.realpath
File.realpath が定義されていないときに定義している File.realpath がホームディレクトリを返すだけで File.realpath の代わりになっていません。 znz (Kazuhiro NISHIYAMA)
04:23 AM Revision c1740d89 (git): test: reduce unnecessary output
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): no empty lines
if no warnigs.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
04:23 AM Revision c05042c9 (git): test: reduce unnecessary output
* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): print retrying
message only if retrying.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
04:23 AM Revision de7eb55f (git): test: reduce unnecessary output
* lib/test/unit.rb (Test::Unit::Runner#del_status_line): update
@status_line_size and return true value.
* lib/tes...
nobu (Nobuyoshi Nakada)
12:51 AM Bug #6597 (Closed): README.EXT と README.EXT.ja の内容が違う
r35977 で README.EXT だけ変更されているので README.EXT.ja も更新が必要だと思います。 znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom