Project

General

Profile

Activity

From 05/05/2009 to 05/11/2009

05/11/2009

10:57 PM Bug #1457 (Closed): Some grammar rules not terminated with semicolon;
=begin
Applied in changeset r23393.
=end
matz (Yukihiro Matsumoto)
02:48 PM Bug #1457 (Closed): Some grammar rules not terminated with semicolon;
=begin
Hi,

Not really a bug.
I guess Bison forgives the omission of rule-terminating delimiters ...

... but my clumsy script doesn't :)))

Patch against 1_9_1 branch.


daz
=end
daz (Dave B)
09:58 PM Bug #1363: Wrong value for Hash of NaN
=begin
Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:23423] Re: [Bug #1363] Wrong value for Hash of NaN"
> on Mon, 11 May 2009 19:03:59 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:
>
> |At Wed, 8 Apr...
shyouhei (Shyouhei Urabe)
09:34 PM Bug #1363: Wrong value for Hash of NaN
=begin
In order to prevent confusion in using NaN as hash key,
it would be better to raise an error like in Lua.

Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> h = {}
> h[0/0.0] = 1
stdin:1: table index is NaN
stac...
phasis68 (Heesob Park)
09:21 PM Bug #1363: Wrong value for Hash of NaN
=begin
Hi,

In message "Re: [ruby-core:23423] Re: [Bug #1363] Wrong value for Hash of NaN"
on Mon, 11 May 2009 19:03:59 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|At Wed, 8 Apr 2009 14:38:31 +0900,
|Heesob Park wro...
matz (Yukihiro Matsumoto)
07:04 PM Bug #1363: Wrong value for Hash of NaN
=begin
Hi,

At Wed, 8 Apr 2009 14:38:31 +0900,
Heesob Park wrote in [ruby-core:23154]:
> Ruby cannot handle NaN as a unique key of Hash.

It's easy to make them unique as key, I'm not sure which is
"correct" behavior though.

>...
nobu (Nobuyoshi Nakada)
08:17 PM Feature #1377 (Closed): Please provide constant File::NOATIME
=begin
Applied in changeset r23392.
=end
Anonymous
08:14 AM Feature #1377: Please provide constant File::NOATIME
=begin
Hi,

In message "Re: [ruby-core:23418] [Feature #1377] Please provide constant File::NOATIME"
on Mon, 11 May 2009 07:15:47 +0900, Kazuhiro NISHIYAMA <redmine@ruby-lang.org> writes:

|Issue #1377 has been updated by Kazuh...
matz (Yukihiro Matsumoto)
07:15 AM Feature #1377: Please provide constant File::NOATIME
=begin
How about this patch?

Index: io.c
===================================================================
--- io.c (revision 23386)
+++ io.c (working copy)
@@ -8953,6 +8953,9 @@ Init_IO(void)
#ifdef O_NOFOLLOW
...
znz (Kazuhiro NISHIYAMA)
03:07 PM Revision 4600cf72 (git): * ext/dl/dl.c (rb_dlhandle_initialize): prohibits DL::dlopen
with a tainted name of library.
Patch by sheepman <sheepman AT sheepman.sakura.ne.jp>.
* ext/dl/dl.c (rb_dlhandle_sym): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:07 PM Revision 7269e3de (git): * ext/dl/lib/dl/func.rb (DL::Function#call): prevents
passing tainted arguments to a C function.
Patch by sheepman <sheepman AT sheepman.sakura.ne.jp>.
* ext/dl/lib/dl/func.rb (DL::Function#check_safe_obj):
new method for checking #call's arguments.
git-svn-id: svn+ssh://ci.ruby-lang....
yugui (Yuki Sonoda)
03:06 PM Revision fa0c4818 (git): merges r22796 and r22865 from trunk into ruby_1_9_1.
--
* configure.in (MINIRUBY): use $(arch)-fake.rb.
--
* configure.in (MINIRUBY): keep macro into Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 1e09355e (git): merges r22441 from trunk into ruby_1_9_1.
--
* template/fake.rb.in: extracted from Makefile.in.
* configure.in (fake.rb): prefixed with $(arch)-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision ce14c2c0 (git): merges r23292 and r23348 from trunk into ruby_1_9_1.
--
* .gitignore: added.
--
* svn:ignore, .gitignore: merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 1c04c045 (git): merges r23317 from trunk into ruby_1_9_1.
--
* eval_intern.h (_longjmp): never return. see [ruby-core:23241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 37abaa0a (git): merges r23293 from trunk into ruby_1_9_1.
--
* tool/transcode-tb (ActionMap#generate_node):
Use ActionMap#gennode instead of generate_node
because of initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 31449757 (git): merges r23288 from trunk into ruby_1_9_1.
--
* bootstraptest/test_io.rb: test for [ruby-dev:38131].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:05 PM Revision 94d336ef (git): merges r23287 from trunk into ruby_1_9_1.
--
* io.c (io_reopen): keeps pathv for prep_stdio. [ruby-dev:38131]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:05 PM Revision 19ad6658 (git): merges r23286 from trunk into ruby_1_9_1.
--
* lib/optparse.rb (OptionParser#parse_in_order): do not make an
option from non-option argument. [ruby-dev:38333]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:04 PM Revision f2140e9e (git): * 2009-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 33ce0fb5 (git): merges r23284 from trunk into ruby_1_9_1.
--
* ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:54 PM Revision ab2119fc (git): * parse.y: add semicolons to some grammar rules not terminated
with them. a patch from Dave B in [ruby-core:23422].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
01:17 PM Bug #1456 (Closed): invalid $LOAD_PATH when configure with --program-suffix
=begin
Applied in changeset r23390.
=end
nobu (Nobuyoshi Nakada)
07:09 AM Bug #1456 (Closed): invalid $LOAD_PATH when configure with --program-suffix
=begin
configureに--program-suffix=-trunkをつけている環境で添付ライブラリのインストール先と$LOAD_PATHが一致していません。

% ruby-trunk -run -e 0
ruby-trunk:0:in `require': no such file to load -- un (LoadError)
% ruby-trunk -ve 'puts $LOAD_PATH'
ruby 1.9.2dev (...
znz (Kazuhiro NISHIYAMA)
11:11 AM Revision a7a1968a (git): * io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:07 AM Revision 0ae26d6c (git): forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:08 AM Revision ae8386f8 (git): * mkconfig.rb (rubylibdir): use rubylibprefix. [ruby-dev:38426]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/10/2009

11:59 PM Revision 70abf7e8 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): support
coercing into Rational. [ruby-core:23415]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
11:56 PM Revision 81cf906b (git): * 2009-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:56 PM Revision 0fa6bb37 (git): * lib/net/smtp.rb (Net::SMTP#check_auth_args): should not change
number of methods for the sake of compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:35 PM Bug #1455 (Closed): compatability of rational and bigdecimal
=begin
require "rational"
require "bigdecimal"
a=BigDecimal("3.2")
b=Rational(3,4)
b/a
--> TypeError: BigDecimal can't be coerced into Rational
from (irb):5:in `/'
from (irb):5
from /usr/local/bin...
bk1 (Karl Brodowsky)
11:37 AM Bug #1453 (Closed): dl in ruby-1.9 must check whether block is given to TempFunction
=begin
Applied in changeset r23386.
=end
nobu (Nobuyoshi Nakada)
09:45 AM Bug #1453 (Closed): dl in ruby-1.9 must check whether block is given to TempFunction
=begin
以下のようにブロック付きで呼ぶべきところで呼ばないと落ちます。

$ cat d7.rb
require 'dl/import'

require 'dl/import'
module M
extend DL::Importer
dlload "libc.so.6"
QsortCallbackWithoutBlock = bind("void *qsort_callback(void*, v...
sheepman (Takashi Tamura)
11:17 AM Bug #1452 (Closed): DL::CPtr.new doesn't check the type of the 3rd arg.
=begin
Applied in changeset r23385.
=end
nobu (Nobuyoshi Nakada)
09:36 AM Bug #1452 (Closed): DL::CPtr.new doesn't check the type of the 3rd arg.
=begin
DL::CPtr.new が引数の型をチェックせずいきなり構造体へキャストしてます。
パッチです。

$ svn diff cptr.c
Index: cptr.c
===================================================================
--- cptr.c (リビジョン 23328)
+++ cptr.c (作業コピー)
@@...
sheepman (Takashi Tamura)
10:47 AM Bug #1451 (Closed): dl in ruby-1.9 can't parse signatures correctly.
=begin
Applied in changeset r23382.
=end
nobu (Nobuyoshi Nakada)
12:09 AM Bug #1451 (Closed): dl in ruby-1.9 can't parse signatures correctly.
=begin
1.9 の dl の cparser.rb が空白があるシグネチャを正しくパースできません。

$ cat d7.rb
require 'dl/import'

module M
extend DL::Importer
dlload 'libc.so.6'
extern 'void * memmove(void *, void *, unsigned long ...
sheepman (Takashi Tamura)
07:37 AM Bug #1448: [patch] Proper handling of recursive arrays
=begin
Oups, completely forgot to finish the hash part.
The problem was that I was not pairing hash1 with hash2 but with the temporary struct made for the comparison. This is fixed in the included patch. I have updated rubyspecs (core...
marcandre (Marc-Andre Lafortune)
02:36 AM Revision ab142b72 (git): * ext/dl/lib/dl/func.rb (DL::Function#bound?): returns if already
bound to a block.
* ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): block must be
given if arg is not bound. [ruby-dev:38404]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:13 AM Revision 8812fe1a (git): * ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check if
the argument is an instance of DL::CFunc.
* ext/dl/cptr.c (rb_dlptr_initialize, rb_dlptr_s_malloc): checks
if DL::CFunc. [ruby-dev:38403].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:47 AM Revision 07b55207 (git): * ext/dl/cptr.c: consistent indentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:40 AM Revision 3fd6cac5 (git): * 2009-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:40 AM Revision e102f894 (git): * ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): strips
spaces. based on a patch from Takashi Tamura in [ruby-dev:38398].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/09/2009

08:42 PM Feature #1432: decrement and increment
=begin
Hi,

In message "Re: [ruby-core:23405] Re: [Feature #1432] decrement and increment"
on Sat, 9 May 2009 15:38:53 +0900, "C.E. Thornton" <admin@hawthorne-press.com> writes:

|The question comes down to this:
|
| Are w...
matz (Yukihiro Matsumoto)
12:33 PM Feature #1432: decrement and increment
=begin
yeah ++ is the one I miss.
-=r
=end
rogerdpack (Roger Pack)
07:42 PM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
to_r should provide exact conversion.
I think ruby may provide "rationalize" on common lisp or scheme.
but not yet.
=end
tadf (tadayoshi funaba)
04:02 PM Bug #1448: [patch] Proper handling of recursive arrays
=begin
Hi,

At Sat, 9 May 2009 11:47:53 +0900,
Marc-Andre Lafortune wrote in [ruby-core:23402]:
> The attached patch fixes all of these problems :-)

But reverts old problems.

$ ./ruby -e 'x={};x[1]=x;y={};y[1]=y; p x==y'
-e:1...
nobu (Nobuyoshi Nakada)
11:47 AM Bug #1448 (Closed): [patch] Proper handling of recursive arrays
=begin
Dealing with recursive arrays & hashes can be tricky.

The current handling of recursive arrays is much improved over that of Ruby 1.8.6. Array comparison still has some bugs though.

For instance:
x = []; x << x
y = ...
marcandre (Marc-Andre Lafortune)
02:27 PM Revision 51b05e34 (git): * 2009-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:27 PM Revision 35a51b25 (git): * lib/delegate.rb (Delegator#method_missing)
(DelegateClass()#method_missing): Properly pass a given block
through. [ruby-dev:38390]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
01:38 PM Bug #1449 (Closed): [REXML] detected encoding isn't used correctly
=begin
REXML::Source can detect source encoding by XML declaration. REXML::IOSource can also detect it but it's not used correctly.

REXML::IOSource uses detected encoding to convert read data from @source. If detected encoding is U...
kou (Kouhei Sutou)
11:17 AM Bug #1299 (Closed): Build failure on i586
=begin
Applied in changeset r23371.
=end
nobu (Nobuyoshi Nakada)
11:01 AM Revision d3cf82e2 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:59 AM Revision 1d0252d5 (git): * test/ruby/test_float.rb (TestFloat#test_sleep_with_Float): add a
test. see [ruby-core:23282]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
10:28 AM Revision ad20a9e0 (git): * lib/date.rb: use subsec instead of nsec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
05:44 AM Revision e9e7e620 (git): rename argument name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:04 AM Revision 015821d1 (git): describe more conversion functions between integer and VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:37 AM Revision e4806756 (git): * variable.c (rb_autoload_load): suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:25 AM Revision 46be98a8 (git): * thread.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:19 AM Revision f4be2ca5 (git): * hash.c: 3rd arguemnt of rb_hash_foreach() is VALUE.
* hash.c (rb_any_hash, recursive_hash): use VALUE for hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:14 AM Revision 88643838 (git): * vm_eval.c (rb_f_catch): gets rid of issue with gcc 4.4. a patch
from Alexey Froloff in [ruby-core:23398]. [ruby-core:22924]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/08/2009

09:01 PM Bug #1299: Build failure on i586
=begin
Attached patch seems to fix this problem.
=end
raorn (Alexey Froloff)
08:05 PM Bug #1299: Build failure on i586
=begin
This happens if compiling with -D_FORTIFY_SOURCE=2 (default CFLAGS for Fedora I guess?) or -D_FORTIFY_SOURCE=1. Can confirm on branches/ruby_1_9_1 revision 23343.
=end
raorn (Alexey Froloff)
10:38 AM Revision b6ed3dce (git): * lib/mkmf.rb (try_link0): removes waste dSYM directories left
when debug and universal-binary are enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:17 AM Revision 9a99663f (git): * lib/mkmf.rb (check_sizeof): fixed wrong recuring result for
intrinsic types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:56 AM Bug #1445 (Assigned): win32 debug build broken
=begin
r22689 needs to be backported.
=end
nobu (Nobuyoshi Nakada)
09:23 AM Bug #1445 (Closed): win32 debug build broken
=begin
Compilation of ext/bigdecimal/bigdecimal.c fails when being compiled with nmake and debug flags.

Repro:
nmake DEBUGFLAGS="-ZI -MDd" OPTFLAGS="-Od"

Expected:
Everything would compile.

Actual:
Compilation fail...
jamezilla (James Hughes)
07:47 AM Bug #1438: dylib architecture error building 1.9.1-rc2 on osx10.5.6
=begin
Thanks Nobu...

Seems like the lib in /usr/local/lib is arm... I believe the iPhone SDK installation (w/Unix tools) put it there.
=end
mattmoss (Matthew Moss)
01:14 AM Revision 15fabcb2 (git): * Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):
program base name. [ruby-dev:38241]
* configure.in (--with-soname): base name of shared library.
[ruby-dev:38290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:07 AM Revision 0d9c4400 (git): * array.c (rb_ary_flatten_bang): clears temporary array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/07/2009

11:21 PM Bug #1442: indentation check and coverage for toplevel do not work
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38384] [Bug #1442](Open) indentation check and coverage for toplevel do not work"
on Thu, 7 May 2009 22:56:19 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:

|ステータス ClosedからOpe...
matz (Yukihiro Matsumoto)
10:56 PM Bug #1442 (Open): indentation check and coverage for toplevel do not work
=begin
すみません、テストを追加したって意味で ChangeLog に ML 番号を
書いたら Close してしまいました。
修正はしていませんので Open にします。
=end
mame (Yusuke Endoh)
09:47 PM Bug #1442 (Closed): indentation check and coverage for toplevel do not work
=begin
Applied in changeset r23362.
=end
mame (Yusuke Endoh)
09:26 PM Bug #1442 (Closed): indentation check and coverage for toplevel do not work
=begin
遠藤です。

[ruby-dev:38050] を redmine に登録します。

-----

トップレベルのファイルに対してインデント対応チェックと coverage が
動きません。

$ cat test.rb
begin
end

$ ./ruby -vw test.rb
ruby 1.9.2dev (2009-02-19 trunk 22427) [i686-linux]

...
mame (Yusuke Endoh)
05:35 PM Revision 4cdeb0fb (git): * 2009-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:35 PM Revision b77295d7 (git): * lib/set.rb (SortedSet#add): Do not require each newly added
element to be Comparable but to respond to <=>. [ruby-dev:38371]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
05:32 PM Revision f6ac12f7 (git): * 2009-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:32 PM Revision 77b04fb6 (git): * lib/set.rb (SortedSet#add): Do not require each newly added
element to be Comparable but to respond to <=>. [ruby-dev:38371]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:47 PM Bug #1440 (Closed): Array#flatten!(0) should return nil, not self
=begin
Applied in changeset r23361.
=end
nobu (Nobuyoshi Nakada)
03:42 PM Bug #1440 (Closed): Array#flatten!(0) should return nil, not self
=begin
As per doc, flatten!(0) does not make modifications and should thus return nil.

[].flatten! # ==> nil
[].flatten!(42) # ==> nil
[].flatten!(-1) # ==> nil
[].flatten!(0) # ==> []

Poor man's diff for "rb_ar...
marcandre (Marc-Andre Lafortune)
02:34 PM Bug #1438 (Rejected): dylib architecture error building 1.9.1-rc2 on osx10.5.6
=begin

=end
nobu (Nobuyoshi Nakada)
02:34 PM Bug #1438: dylib architecture error building 1.9.1-rc2 on osx10.5.6
=begin
Hi,

At Thu, 7 May 2009 13:54:17 +0900,
Matthew Moss wrote in [ruby-core:23377]:
> 1. Is that really a legitimate change to LDFLAGS?

No.

> 2. Do I need to go to all these modules and change LDFLAGS in a like manner?

...
nobu (Nobuyoshi Nakada)
01:54 PM Bug #1438: dylib architecture error building 1.9.1-rc2 on osx10.5.6
=begin
Okay, if I change line 40 of enc.mk from:
LDFLAGS = -L. -L/usr/local/lib
to:
LDFLAGS = -L. -L/usr/lib

Then it gets past that linking error, builds encdb.bundle, and moves on. It runs into the same error at the ne...
mattmoss (Matthew Moss)
12:39 PM Bug #1438: dylib architecture error building 1.9.1-rc2 on osx10.5.6
=begin
Perhaps, but I'm just running 'make', not linking in that specifically. Or is that what --prefix=/usr/local implies in the 'configure' command? (My Unix/BSD kung-fu is not very strong.) I assumed that --prefix directed where the ...
mattmoss (Matthew Moss)
11:13 AM Bug #1438: dylib architecture error building 1.9.1-rc2 on osx10.5.6
=begin
Are you sure you don't want to link against /usr/lib/libstdc++.dylib instead? Apparently the one is /usr/local/lib is either 64 bit or PPC...
=end
roberto (Ollivier Robert)
05:55 AM Bug #1438 (Rejected): dylib architecture error building 1.9.1-rc2 on osx10.5.6
=begin
Attempting to build 1.9.1-rc2 on osx 10.5.6 in the following manner:

./configure --prefix=/usr/local --program-suffix=19 --enable-pthread --with-readline-dir=/usr/local --enable-shared
make



Much of the basic sou...
mattmoss (Matthew Moss)
02:27 PM Bug #1439 (Closed): Array#sample returns wrong results for negative argument
=begin
Applied in changeset r23359.
=end
nobu (Nobuyoshi Nakada)
12:27 PM Bug #1439 (Closed): Array#sample returns wrong results for negative argument
=begin
$ ruby1.9 -v -e "p [1,2].sample(-1)"
ruby 1.9.2dev (2009-05-06 trunk 23352) [i386-darwin9.6.0]
[1, 2, false]
=end
marcandre (Marc-Andre Lafortune)
02:23 PM Bug #1433: test_sprintf_p fails
=begin
成瀬です。

(2009/05/07 11:48), U.Nakamura さんは書きました:
> こんにちは、なかむら(う)です。
>
> In message "[ruby-dev:38374] [Bug #1433] test_sprintf_p fails"
> on May.05,2009 09:52:14, <redmine@ruby-lang.org> wrote:
>
>> この部分を最後に修正したのはうささ...
naruse (Yui NARUSE)
11:48 AM Bug #1433: test_sprintf_p fails
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:38374] [Bug #1433] test_sprintf_p fails"
on May.05,2009 09:52:14, <redmine@ruby-lang.org> wrote:
> この部分を最後に修正したのはうささんのようですが、どう思われますか。
> あと他の方も。

たぶんr15117に追従したテストの変更だと思いますが、当時の仕様...
usa (Usaku NAKAMURA)
02:03 PM Bug #1388: cygwin-1.7, gcc4-4.3, and ruby-1.9. make btest #236 test_io.rb Segmentation fault
=begin
Hi,

At Fri, 1 May 2009 00:57:41 +0900,
neomjp neomjp wrote in [ruby-core:23340]:
> Conficting part is _longjmp. Here is the relevant part of setjmp.h from
> cygwin-1.7 .

> $ sed -n 317,323p /usr/include/machine/setjmp.h
...
nobu (Nobuyoshi Nakada)
12:44 PM Revision a0901920 (git): * test/ruby/test_rubyoptions.rb (test_indentation_check): add a test
for indentation check. [ruby-dev:38382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:40 AM Revision 94ee3e7e (git): * array.c (rb_ary_flatten_bang): returns nil if nothing changed.
a patch from Marc-Andre Lafortune in [ruby-core:23382].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:36 AM Revision 2f164472 (git): * ChangeLog: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:26 AM Revision 9936642c (git): * array.c (rb_ary_sample): negative sample number is invalid.
[ruby-core:23374]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:16 AM Revision 013b2773 (git): * string.c, include/ruby/encoding.h: fixed types.
* include/ruby/encoding.h (rb_enc_nth): long is used for index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:01 AM Revision 94ecf211 (git): * range.c (r_le): fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:58 AM Revision d3e42dbb (git): * range.c (range_eql): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:58 AM Revision 61d0d8ba (git): * range.c (range_eql): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:10 AM Revision defd374a (git): * io.c (pipe_open): should be rb_pid_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/06/2009

05:02 PM Revision 24489c89 (git): * 2009-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:02 PM Revision b5898e70 (git): * util.c: suppress strict-aliasing warning with gcc-4.4.0 -O2 to fix
infinite loop by ruby -e "1.402e-45" .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:31 AM Feature #1432: decrement and increment
=begin

Why is

a+=1

less elegant than

++a

However, I admit that using

(x=a; a+=1; x)

to replace

a++

is pretty evil looking. (The postfix variants *are* a pain to emulate
correctly)

Are there other ...
brent (Brent Roman)
11:02 AM Feature #1432: decrement and increment
=begin
at times I do miss the elegance of being able to do ++
though it does hide the fact that it's internally assignment. Primitives aren't quite as objecty as "normal" objects, so might be an appropriate fit. Just thinking out lo...
rogerdpack (Roger Pack)
09:41 AM Feature #1200: Possibility for using named and normal groups together in regular expressions
=begin
I'd like to use simple paren as a shy group.

If we allow both named and unnamed capturing group in a regexp, I recommend unnamed capturing have a new syntax, such as (?<>...).
=end
akr (Akira Tanaka)
09:37 AM Bug #1435 (Closed): README.ja: 「defined(THINK_C)」
=begin
Applied in changeset r23350.
=end
nobu (Nobuyoshi Nakada)
01:21 AM Bug #1435 (Closed): README.ja: 「defined(THINK_C)」
=begin
「* 移植」のところに

> 「defined(THINK_C)」で
> 括られている部分を参考にしてください

と書かれていますが、「defined(THINK_C)」がREADME.ja以外に見つかりません。
=end
znz (Kazuhiro NISHIYAMA)
09:30 AM Revision 91892b82 (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:26 AM Feature #1436: Please consider this addition to resolv.rb which adds methods for resolving LOC resources
=begin

=end
akr (Akira Tanaka)
08:48 AM Feature #1436 (Closed): Please consider this addition to resolv.rb which adds methods for resolving LOC resources
=begin
Please consider this diff which would add support to resolv.rb to permit parsing of LOC resources.
I would welcome any criticism or guidance that would make this more suitable for inclusion.
Regards,

JB Smith



...
jabo (JB Smith)
07:51 AM Revision c36aeb53 (git): * math.c (math_gamma): use a table for positive small integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:16 AM Bug #1414: NameError (undefined method `path' for class `ActionController::UploadedStringIO')
=begin
So the current info seems to point to multiple problems related to the StringIO changes in Ruby and introduction evolution of I18N in Rails and other gems. My specific problem was "fixed" by adding two patches - one to rack and ...
rick (Rick Lloyd)
12:27 AM Revision c38db982 (git): * README.ja: code for THINK_C does not exist already. [Bug #1435]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:27 AM Revision 821831a2 (git): * README.ja: code for THINK_C does not exist already. [Bug #1435]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/05/2009

08:34 PM Revision fca83c08 (git): * configure.in (CFLAGS, CXXFLAGS): strips extra spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:34 PM Revision e6c0a783 (git): * configure.in (CFLAGS, CXXFLAGS): strips extra spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:52 AM Bug #1433 (Closed): test_sprintf_p fails
=begin
test_sprintf_p(TestM17N) [/home/naruse/git/ruby/test/ruby/test_m17n.rb:773]:
<#<Encoding:US-ASCII>> expected but was
<#<Encoding:ASCII-8BIT>>.

1.9.1のパッチリリースのblocking bugである本件ですが、
これはテスト側を動作に合わせるべきだと思っています。

この部分を最後...
naruse (Yui NARUSE)
08:49 AM Revision 42c9483e (git): * svn:ignore, .gitignore: merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:33 AM Revision 4fda9d1f (git): Fix: raised error on tool/ifchange.
* tool/ifchange: Fix: arguments which begin with minus sign may
parsed as options. Because of older systems, don't use --
but use parentheses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23347 b2dd03c8-39d4-4d8f-98ff-823fe69b...
naruse (Yui NARUSE)
02:32 AM Revision 4f364c6b (git): Update to JSON 1.1.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:05 AM Revision 17358929 (git): * 2009-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:05 AM Revision 3abca796 (git): Fix: DON'T move in_p because before in_p is replaced by buffered data.
* transcode.c: NOMAP is now multibyte direct map.
* transcode.c: remove ASIS.
* transcode_data.h: ditto.
* tool/transcode-tb (ActionMap#generate_info): remove :asis.
* tool/transcode-tb (ActionMap#generate_info): add :nomap0.
* enc/...
naruse (Yui NARUSE)
 

Also available in: Atom