Project

General

Profile

Activity

From 09/03/2008 to 09/09/2008

09/09/2008

10:44 PM Bug #554: Sync_m#sync_try_lockの引数が無視されている
=begin
http://rubyforge.org/tracker/index.php?func=detail&aid=11680&group_id=426&atid=1700
でした。

akira yamada さんは書きました:
> ruby_1_8でも同じです。

--- lib/sync.rb (revision 19264)
+++ lib/sync.rb (working copy)
@@ -54,6 +54,7 @@
# e...
akira (akira yamada)
10:37 PM Bug #554 (Closed): Sync_m#sync_try_lockの引数が無視されている
=begin
こうだったりしないでしょうか?:

--- lib/sync.rb (revision 19272)
+++ lib/sync.rb (working copy)
@@ -126,9 +126,9 @@

# locking methods.
def sync_try_lock(mode = EX)
- return unlock if sync_mode == UN
+ return u...
akira (akira yamada)
10:01 PM Bug #553 (Closed): REXML::Document#write(io, 1, true, true) #=> NameError/ArgumentError
=begin
以下でNameErrorになります。

>> require "rexml/document"
=> true
>> REXML::Document.new("<a><b/></a>").write($stdout, 1, true, true)
NameError: uninitialized constant REXML::Formatters::Transitive
from /home/akira/src/ruby/ru...
akira (akira yamada)
06:59 PM Feature #542 (Rejected): cgi.rb : CGI::unescape return encoding
=begin
いずれencodingの自動付与機能を搭載するということで、
このチケットは閉じます。
=end
xibbar (Takeyuki FUJIOKA)
04:59 PM Revision 06d8db19 (git): * tool/transcode-tblgen.rb (StrSet#hash): cache hash value.
(ActionMap#hash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:27 PM Revision 2d26208a (git): * include/ruby/encoding.h (econv_after_output): renamed from
econv_output_followed_by_input.
(ECONV_AFTER_OUTPUT): renamed from ECONV_OUTPUT_FOLLOWED_BY_INPUT.
* transcode.c: follow the renaming.
* io.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19278 b2dd03c8-39d4-4d8f-98ff-...
akr (Akira Tanaka)
04:18 PM Revision 3cc7c9d0 (git): * transcode.c (get_replacement_character): don't return ASCII
incompatible replacements.
(make_replacement): don't convert the result of
get_replacement_character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:06 PM Revision 817a623d (git): * enc/trans/newline.trans (rb_universal_newline): swap src_encoding
and dst_encoding.
* transcode.c (rb_econv_decorate_at): call get_transcoder_entry only
once.
(rb_econv_binmode): follow universal_newline change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19276 b2dd03c8-39d4-4d8f-98ff-823...
akr (Akira Tanaka)
03:02 PM Revision 1a9887ac (git): * 2008-09-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision baac56be (git): * include/ruby/io.h (rb_io_t): rename field: writeconv_stateless to
writeconv_asciicompat.
* io.c: follow the renaming.
* gc.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:56 PM Revision dda64cab (git): * io.c (io_fwrite): raise an error if ASCII incompatible string
written for text mode IO without encoding conversion.
(rb_io_extract_modeenc): binmode requirement changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:09 PM Revision 0bbda397 (git): * lib/cgi*: split cgi.rb into four files. [ruby-dev:36041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
12:22 PM Revision d456f7e3 (git): * include/ruby/encoding.h (ECONV_DECORATOR_MASK): merge
ECONV_ENCODER_MASK and ECONV_DECORATOR_MASK.
(ECONV_UNIVERSAL_NEWLINE_DECORATOR): renamed from
ECONV_UNIVERSAL_NEWLINE_DECODER.
(ECONV_CRLF_NEWLINE_DECORATOR): renamed from
ECONV_CRLF_NEWLINE_ENCODER.
(ECONV_CR_NEWLINE_DECORATO...
akr (Akira Tanaka)
11:59 AM Revision a729be84 (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:57 AM Revision 8c2d4076 (git): * transcode.c (rb_econv_open0): make it static.
(rb_econv_open): place decorators at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:41 AM Revision 8bf5284c (git): * test/openssl/test_ssl.rb (OpenSSL#test_client_session):
Debian's openssl 0.9.8g-13 failed at assert(ssl.session_reused?),
when use default SSLContext. [ruby-dev:36167]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
11:37 AM Revision 40c31d5b (git): * transcode.c (rb_econv_t): last_trans_index removed.
(rb_econv_open_by_transcoder_entries): follow the type change.
(rb_econv_open0): ditto.
(rb_econv_decorate_at): ditto.
(rb_econv_binmode): ditto.
(rb_econv_insert_output): simplified because there are no decorators
at last.
g...
akr (Akira Tanaka)
11:22 AM Revision b96c3dfe (git): * transcode.c (rb_econv_open): reverse the order of decorders.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:18 AM Revision 4fcb83c0 (git): * transcode.c (rb_econv_open0): num_encoders and num_decoders removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:13 AM Bug #466: test_str_crypt(TestM17NComb) failed
なかだです。
At Mon, 8 Sep 2008 19:23:47 +0900,
Kazuhiro NISHIYAMA wrote in [ruby-dev:36213]:
> > 現在のライブラリではたまたま毎回結果が変わっていますが、つねにそ
> ...
問題がありそうなのは、他のシステムで暗号化されたものをもってきた
場合でしょうね。
> > "`$1`"や"`$2`"で始まるsaltでアルゴリズムを選択するという拡張機能のあ
> ...
...
nobu (Nobuyoshi Nakada)

09/08/2008

10:41 PM Bug #543 (Closed): cgi.rb : obsolete regex "n" option except CGI#pretty
=begin
Applied in changeset r19245.
=end
xibbar (Takeyuki FUJIOKA)
10:37 PM Bug #541 (Closed): cgi.rb : obsolete regex "n" option
=begin
Applied in changeset r19245.
=end
xibbar (Takeyuki FUJIOKA)
07:38 PM Revision 6eef0808 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:30 PM Bug #466: test_str_crypt(TestM17NComb) failed
西山和広です。
At Mon, 8 Sep 2008 10:46:45 +0900,
Nobuyoshi Nakada wrote:
>
> ...
毎回同じ正しくない結果が返ってくるなら、それはそれで問題が
おきなさそうな気がしますが。
> "$1"や"$2"で始まるsaltでアルゴリズムを選択するという拡張機能のあ
> ...
8ビット目をクリアした結果がたまたま"$1"や"$2"になっていたときの
ことを考えていなかったのですが、気に...
znz (Kazuhiro NISHIYAMA)
10:53 AM Bug #466: test_str_crypt(TestM17NComb) failed
なかだです。
At Sun, 7 Sep 2008 12:39:11 +0900,
Kazuhiro NISHIYAMA wrote in [ruby-dev:36193]:
> 以下のようにconfigureでチェックしてしまうのがいいかと思ったのですが、
> ...
現在のライブラリではたまたま毎回結果が変わっていますが、つねにそ
うなるとは限らないのではないでしょうか。毎回同じ正しくない結果を
返すという可能性もあるわけで。
"`$1`"や"...
nobu (Nobuyoshi Nakada)
07:01 PM Revision c5d9a3cc (git): * io.c (make_writeconv): useless branch removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:46 PM Bug #547: IPV6系の定数が未定義
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36201] ソケット関連の定数がいろいろ未定義 (Re: [Bug #547](Closed) IPV6系の定数が未定義)"
on Sun, 7 Sep 2008 23:56:54 +0900, "IWAMURO Motonori" <[email protected]> writes:

|close されたと思ったら、何時の間にか IP...
matz (Yukihiro Matsumoto)
12:03 AM Bug #547: IPV6系の定数が未定義
=begin
岩室です。

2008/09/06 21:31 Yukihiro Matsumoto <[email protected]>:
> チケット #547 が更新されました。 (by Yukihiro Matsumoto)
>
> ステータス OpenからClosedに変更
> 進捗 % 0から100に変更

close されたと思ったら、何時の間にか IPV6_* が追加されてますね。けど、IPPROTO_IPV6 等がないので十分...
iwa (Motonori IWAMURO)
05:23 PM Revision 795bf7a6 (git): * include/ruby/encoding.h (rb_econv_decorate_at_first): declared.
(rb_econv_decorate_at_last): declared.
* transcode.c (rb_econv_open_by_transcoder_entries): initialize
replacement_enc. allocate outbuf for the last transcoder.
(rb_econv_open0): extracted from rb_econv_open.
(rb_econv_open): use...
akr (Akira Tanaka)
04:11 PM Revision 65110d64 (git): * transcode.c (rb_econv_open): make ec a local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:21 PM Revision 4106a7c0 (git): * transcode.c (rb_econv_asciicompat_encoding): check decoder.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:03 PM Revision 870a8b39 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:01 PM Revision a7d3c7bc (git): * 2008-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision dbf04875 (git): * transcode.c (rb_econv_t): last_error.partial_input removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:33 PM Revision 6270ad5b (git): * include/ruby/encoding.h (rb_econv_asciicompat_encoding): renamed
from rb_econv_stateless_encoding to apply stateless ASCII
incompatible encodings such as UTF-16BE.
* io.c (make_writeconv): use rb_econv_asciicompat_encoding.
* transcode_data.h (rb_transcoder_asciicompat_type_t): renamed from
rb_t...
akr (Akira Tanaka)
02:27 PM Revision 52945b0d (git): * test/cgi/test_cgi_tag_helper.rb : fix class name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
02:08 PM Revision a98bb55e (git): * transcode.c (rb_econv_insert_output): "readagain" part should be
after replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:49 PM Bug #493: Failure: test_dup(TestIO)
=begin
test_dupのpipe2の前で、ブロックの中でopenすると
ruby-trunk test/ruby/test_io.rb -n /test_dup/
のように単独で実行しても再現するようになったのでcommitしておきます。

適当にGC.startしても現象は変わらず、openしたものをちゃんとcloseすれば
テストが通るようになるので、Fileのファイナライザの処理に問題があるのでは
ないかと思います。

こ...
znz (Kazuhiro NISHIYAMA)
01:32 PM Revision be2fc605 (git): * dir.c (dir_initialize): rename option name of Dir.open
from :external_encoding to :encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:27 PM Revision d166d0be (git): * lib/cgi.rb : obsolete regex "n" option. [ruby-dev:36130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
11:08 AM Bug #551 (Closed): SIZE_MAX is not defined in VC++
=begin
transcode.c の allocate_converted_string 中で

while (res == econv_destination_buffer_full) {
if (SIZE_MAX/2 < dst_bufsize) {
goto fail;
}

という部分がありますが、SIZE_MAXはC99で追加された定数
(参考 http://...
kbk (Koichi Kimura)
09:17 AM Revision c27baaa0 (git): * win32/win32.c (getppid): typo. [ruby-dev:36202]
* process.c (get_ppid): mention the return value on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:16 AM Revision 1625494f (git): * tool/transcode-tblgen.rb (ArrayCode): less string substitutions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:14 AM Revision 933eb079 (git): * vm.c (rb_mRubyVMFrozenCore): registered for GC.
* re.c (rb_reg_preprocess_dregexp): fix GC problem on MacOS X with
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.
build 5367).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19241 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
09:09 AM Revision 80de1892 (git): * win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:46 AM Revision 9ae4b8bb (git): * win32/win32.c (filetime_to_unixtime): remove unused variable.
[ruby-dev:36191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:49 AM Revision be2c236f (git): * test/ruby/test_io.rb (TestIO#test_dup): add open in block.
see [ruby-dev:35957].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)

09/07/2008

11:35 PM Bug #550: irbで日本語を入力できない
=begin
なお、Mac OS X や NetBSD でも GNU readline を用いるようにすれば表示可能なはずです。
また、意欲のある方は libedit 側を直すという手もあります。
=end
naruse (Yui NARUSE)
10:52 PM Bug #550 (Rejected): irbで日本語を入力できない
=begin
Mac OS X や NetBSD で用いられている GNU readline の代替ライブラリ、
Editline Library (libedit) はマルチバイト文字に対応していません。
“At the moment libedit does not support UTF-8 and multi-byte character sets.”
http://www.thrysoee.dk/editline/

よって、仕様です。
...
naruse (Yui NARUSE)
10:39 PM Bug #550 (Rejected): irbで日本語を入力できない
=begin
Mac OS X上のirbで日本語文字を入力しようとすると、無効なバイト列に化けて例外が発生します。

% uname -a
Darwin yugui-macbook.local 9.4.0 Darwin Kernel Version 9.4.0: Mon Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
% ruby-trunk -v
ruby ...
yugui (Yuki Sonoda)
11:10 PM Revision 3c8a03c3 (git): * enc/trans: ignore escape.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:10 PM Revision 0de54d9a (git): * complex.c: some adjustments.
* rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
09:50 PM Revision 1b2f39fa (git): * configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:07 PM Bug #466 (Closed): test_str_crypt(TestM17NComb) failed
Applied in changeset r19213.
Anonymous
01:05 PM Bug #466: test_str_crypt(TestM17NComb) failed
まつもと ゆきひろです
In message "Re: [ruby-dev:36193] [Bug #466] test_str_crypt(TestM17NComb) failed"
on Sun, 7 Sep 2008 12:39:11 +0900, Kazuhiro NISHIYAMA <[email protected]> writes:
>以下のようにconfigureでチェックしてしまうのがいいかと思ったのですが、
> ......
matz (Yukihiro Matsumoto)
12:45 PM Bug #466: test_str_crypt(TestM17NComb) failed
以下のようにconfigureでチェックしてしまうのがいいかと思ったのですが、
どうでしょうか?
影響範囲がよくわからなかったので、実際に値が変わってしまうことがあった
darwinの時だけチェックするようなパッチにしてみました。
~~~diff
Index: configure.in
===================================================================
--- configure....
znz (Kazuhiro NISHIYAMA)
05:08 PM Revision 6e36c484 (git): * include/ruby/encoding.h (rb_econv_set_replacement): renamed from
rb_econv_set_replacemenet.
* transcode.c: follow the renaming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:03 PM Revision 82a57365 (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:11 PM Revision 08c3dd54 (git): * tool/transcode-tblgen.rb (transcode_tblgen): log message refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:59 PM Revision 24970522 (git): * rational.c: removed unused code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:05 PM Revision d4832b7a (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:05 PM Revision 2403b1fe (git): * 2008-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 7de9b108 (git): * enc/trans/iso2022.trans: upcase to iso-2022-jp.
* enc/emacs_mule.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:49 PM Revision 78350a0c (git): * enc/trans/iso2022.trans: stateless-iso-2022-jp is defined to avoid
undefined conversion error between iso-2022-jp and the corresponding
stateless encoding.
* enc/emacs_mule.c: replicate emacs-mule as stateless-iso-2022-jp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19220 b2dd03c8-39d4-4d8f-...
akr (Akira Tanaka)
01:20 PM Bug #493: Failure: test_dup(TestIO)
=begin
Momonga 4の
ruby 1.9.0 (2008-09-07 revision 19208) [i686-linux]
でも発生しました。

Momonga 4の
ruby 1.9.0 (2008-09-07 revision 19208) [x86_64-linux]
では発生しませんでした。
=end
zunda (zunda an)
11:58 AM Bug #548 (Closed): segmentetion fault by socket connection
=begin
中村です。

すみません。単に make install し忘れていました。。。
私の環境でも make install すると再現しなくなりました。
お騒がせしました。以後気をつけます。。。
=end
authorNari (Narihiro Nakamura)
05:54 AM Bug #548: segmentetion fault by socket connection
=begin
うちでは再現しませんね。同じi686-linuxなのに。
-vの出力revision 18218はかなり古いですが、これは単にmake upしていないだけでしょうか。trunk最新ですか?
また、実行はmake installした状態で行っていますか?
=end
matz (Yukihiro Matsumoto)
04:43 AM Bug #548 (Closed): segmentetion fault by socket connection
=begin
以下のコードでSEGVが発生するようです。

require 'socket'
GC.stress = true
@server = TCPServer.new("localhost", 12345)
pid = fork{ loop{ @server.accept } }
100.times{ s = TCPSocket.new("localhost", 12345); s.puts("foo\n") }
Process.k...
authorNari (Narihiro Nakamura)
11:07 AM Revision 45d7c84f (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:03 AM Revision a3cfd323 (git): * enc/trans/escape.trans (hexstr): renamed from str1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:46 AM Revision faa13874 (git): * enc/trans/escape.trans: use transcode_tblgen.
* tool/transcode-tblgen.rb: generate an empty line after str1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:17 AM Revision eee75cc1 (git): * tool/transcode-tblgen.rb (ActionMap#str_name): new method to
generate a name base on string content.
(ActionMap#gen_str): extracted from generate_info and use str_name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:13 AM Bug #506 (Closed): ObjectSpace.each_object Segmentation fault
=begin

=end
matz (Yukihiro Matsumoto)
09:47 AM Bug #541: cgi.rb : obsolete regex "n" option
=begin

=end
ko1 (Koichi Sasada)
09:47 AM Feature #542: cgi.rb : CGI::unescape return encoding
=begin

=end
ko1 (Koichi Sasada)
09:46 AM Bug #543: cgi.rb : obsolete regex "n" option except CGI#pretty
=begin

=end
ko1 (Koichi Sasada)
09:30 AM Revision dcdc7579 (git): * tool/transcode-tblgen.rb (ActionMap#generate_info): use a memo to
avoid duplication for STR1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:13 AM Revision c0bec2fa (git): * transcode_data.h (STR1): defined for a string up to 255 bytes.
(STR1_BYTEINDEX): defined.
(makeSTR1): defined.
* tool/transcode-tblgen.rb: generate STR1.
* transcode.c (transcode_restartable0): interpret STR1.
* enc/trans/escape.trans (fun_so_escape_xml_chref): removed. STR1 is
used instead....
akr (Akira Tanaka)
08:57 AM Revision 6bf5c34c (git): * configure.in: Mac OS X's crypt(2) is broken with invalid salt.
[ruby-dev:35899]
* string.c (rb_str_crypt): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
08:30 AM Revision 78543725 (git): * tool/transcode-tblgen.rb: o4 is usable only if the first byte is
f0-f7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:02 AM Revision a0d163da (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:37 AM Bug #528 (Closed): Several ruby-mode.el improvements
=begin
Applied in changeset r19202.
=end
matz (Yukihiro Matsumoto)
07:06 AM Bug #528: Several ruby-mode.el improvements
=begin
Hi,

In message "Re: [ruby-core:18477] [Bug #528] Several ruby-mode.el improvements"
on Sun, 7 Sep 2008 06:55:17 +0900, Nathan Weizenbaum <[email protected]> writes:

|Applying each of the patches in order from 1 to ...
matz (Yukihiro Matsumoto)
07:01 AM Bug #528: Several ruby-mode.el improvements
=begin
Applying each of the patches in order from 1 to 7 should work fine. The links to patches 6 and 7 at the top and on my previous post are actually the same, so it doesn't matter which one you use.
=end
nex3 (Natalie Weizenbaum)
06:56 AM Bug #528: Several ruby-mode.el improvements
=begin
Hi,

In message "Re: [ruby-core:18475] [Bug #528] Several ruby-mode.el improvements"
on Sun, 7 Sep 2008 06:31:57 +0900, Nathan Weizenbaum <[email protected]> writes:

|File 0006--misc-ruby-mode.el-fix-a-variable-name...
matz (Yukihiro Matsumoto)
06:37 AM Bug #528: Several ruby-mode.el improvements
=begin
Sure, here are two more patches that should work with patch -p1. Patch 6 fixes the variable-name bug that was breaking the original patches, and patch 7 sets case-fold-search locally rather than globally (another issue introduced...
nex3 (Natalie Weizenbaum)
05:02 AM Bug #528: Several ruby-mode.el improvements
=begin
Hi,

In message "Re: [ruby-core:18470] [Bug #528] Several ruby-mode.el improvements"
on Sun, 7 Sep 2008 04:27:52 +0900, Nathan Weizenbaum <[email protected]> writes:

|Looks like these patches are broken. I've fixed ...
matz (Yukihiro Matsumoto)
04:33 AM Bug #528: Several ruby-mode.el improvements
=begin
Looks like these patches are broken. I've fixed the issue (and some additional stuff) in my Git repo (http://github.com/nex3/ruby); feel free to draw the patches from there however you want. If you want me to work up more patch f...
nex3 (Natalie Weizenbaum)
07:26 AM Bug #549 (Closed): ri -f html mungles constants
=begin
The example I'll use here is with Bacon. Regular output of 'ri Bacon' produces:

----------------------------------------------------------- Class: Bacon
Copyright (C) 2007, 2008 Christian Neukirchen
<purl.org...
trans (Thomas Sawyer)
07:17 AM Bug #491 (Closed): makeが"string contains null byte"で失敗します
=begin
Applied in changeset r19201.
=end
matz (Yukihiro Matsumoto)
03:45 AM Revision a788a2e5 (git): * io.c (make_writeconv): choose ASCII compatible encoding as
intermediate encoding if stateful encoder exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:13 AM Revision 020e681e (git): * include/ruby/encoding.h (ECONV_XML_ATTR_CONTENT_ENCODER): defined.
(ECONV_STATEFUL_ENCODER_MASK): defined.
(ECONV_XML_ATTR_QUOTE_ENCODER): defined.
(ECONV_XML_ATTR_ENCODER): removed.
* enc/trans/escape.trans (rb_escape_xml_attr_content): defined.
(rb_escape_xml_attr_quote): defined.
(rb_escape_...
akr (Akira Tanaka)
01:17 AM Bug #505 (Closed): 1.upto 2 {|i| p i }
Applied in changeset r19197.
matz (Yukihiro Matsumoto)

09/06/2008

10:38 PM Revision 12077204 (git): * misc/emacs-mode.el: don't set case-fold-search globally to nil;
instead just set it when we need it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:37 PM Revision e39aa51d (git): * misc/ruby-mode.el: fix a variable-name error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
10:36 PM Revision 4cbbf3bd (git): * misc/*.el: untabify, for interal consistency and consistency
with standard Emacs elisp files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:34 PM Revision d250d79e (git): * misc/ruby-mode.el, misc/ruby-electric.el: use regexp-opt where
possible for more efficient regexps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:33 PM Revision 3f3584d6 (git): * misc/ruby-mode.el: don't highlight keywords when they're the
beginning of non-keyword symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:32 PM Revision ce231cdb (git): * misc/ruby-mode.el: don't crash the whole mode if the Subversion
$ keyword isn't interpolated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:30 PM Revision 2d1c5d2c (git): * misc/*.el: merged the following patches from Nathan Weizenbaum
<nex342 at gmail.com>. [ruby-core:18424]
* misc/ruby-mode.el: improve here-doc performance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:15 PM Revision 0771b987 (git): * file.c (file_expand_path): applied a patch from Nobuhiro Tachino
in [ruby-dev:35948]. fix #491
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:14 PM Revision 7ae76a9e (git): * test/ruby/test_parse.rb (TestParse): update a test not to use
recently fixed inconsistent syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:37 PM Bug #547 (Closed): IPV6系の定数が未定義
=begin
Applied in changeset r19189.
=end
matz (Yukihiro Matsumoto)
08:04 PM Bug #547: IPV6系の定数が未定義
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36175] [Bug #547] IPV6系の定数が未定義"
on Sat, 6 Sep 2008 19:46:53 +0900, Motonori IWAMURO <[email protected]> writes:

|socketに、IPPROTO_IPV6やIPV6_JOIN_GROUP等のIPV6系の定数が未定義です。
|
|何が未定...
matz (Yukihiro Matsumoto)
07:52 PM Bug #547 (Closed): IPV6系の定数が未定義
=begin
socketに、IPPROTO_IPV6やIPV6_JOIN_GROUP等のIPV6系の定数が未定義です。

何が未定義なのか列挙しようとしたのですが、参考にPython-2.5.2のソースを見たら、あまりにもたくさんあったので挫折しました……。
=end
iwa (Motonori IWAMURO)
08:34 PM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
=begin
岩室です。

追記。gsub!のケースが抜けてました。

http://www.google.co.jp/codesearch?q=lang%3Aruby+gsub!%3F\s*\(.*\(.*(do|\{)\s*\|.*\|

倍に増えたorz (無関係なものも大量にひっかかってますけど)
--
IWAMURO Motnori <http://vmi.jp/>
=end
iwa (Motonori IWAMURO)
08:31 PM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
=begin
岩室です。

うは、前言一部撤回。

2008/09/06 20:00 Yukihiro Matsumoto <[email protected]>:
> |・gsub のパターンにカッコを付けた場合、ブロックパラメータを参照するケースは極めて限定的と思われるので、仕様を変更しても影響は少ないと思われる。
>
> うーん、本当かなあ。実際にやってみて誰かに「ぎゃっ」と言って
> もらうしか確認の手段はないかもしれませんね。

ちょっ...
iwa (Motonori IWAMURO)
08:06 PM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36174] [Feature #546] String#gsub と Strnig#scan のブロックパラメータの一致"
on Sat, 6 Sep 2008 19:27:18 +0900, Motonori IWAMURO <[email protected]> writes:

|String#gsub のブロックパラメータの仕様を Str...
matz (Yukihiro Matsumoto)
07:33 PM Feature #546 (Rejected): String#gsub と Strnig#scan のブロックパラメータの一致
=begin
String#gsub のブロックパラメータの仕様を Strnig#scan のものに合わせることを提案します。

[ruby-dev:33548]からの一連のスレッドではいろいろ案が出たあげく議論が止まっていますが、

・現状の gsub の仕様では、カッコを付けたとき、ブロックパラメータがほとんど役に立たないので困る。
・gsub と scan は似た振る舞いをするので、ブロックパラメータの仕様も合わせるべき。
・scan ...
iwa (Motonori IWAMURO)
06:39 PM Revision 929e0b91 (git): * parse.y (f_block_optarg): allow default for block parameters as
long as the value is primary. a patch from Eric Mahurin
<eric.mahurin at gmail.com> in [ruby-core:16880].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:22 PM Revision 04d3593b (git): add a space
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:09 PM Revision 05edaf50 (git): * parse.y (yylex): "1.upto 2 {|i| p i }" should be syntax error.
[ruby-dev:36008]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:04 PM Revision 00759b00 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:01 PM Revision 6d847ca7 (git): cleanup spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:39 PM Revision bff6f0f9 (git): * 2008-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision 0508672f (git): * include/ruby/encoding.h (ECONV_ERROR_HANDLER_MASK): defined.
(ECONV_DECODER_MASK): defined.
(ECONV_ENCODER_MASK): defined.
* io.c (make_writeconv): restrict ecflags for writeconv with
ECONV_ERROR_HANDLER_MASK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19193 b2dd03c8-39d4-4d8f-98ff-...
akr (Akira Tanaka)
02:58 PM Revision dd27b8f4 (git): * proc.c (Init_Proc): add '===' operator to use procs in when
clause of the case statement. inspired by <http://www.aimred.com/news/developers/2008/08/14/unlocking_the_power_of_case_equality_proc/>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:05 PM Revision 76b30630 (git): * include/ruby/encoding.h (ECONV_XML_TEXT_ENCODER): renamed from
ECONV_HTML_TEXT_ENCODER.
(ECONV_XML_ATTR_ENCODER): renamed from ECONV_HTML_ATTR_ENCODER.
* enc/trans/escape.trans: follow the renaming.
* transcode.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19191 b2dd03c8-39d4-4d...
akr (Akira Tanaka)
12:38 PM Revision d98bc005 (git): * ext/socket/mkconstants.rb: add some IPV6 constans. [ruby-dev:36175]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
12:33 PM Revision 003d6086 (git): * ext/socket/constants.h: add some IPV6 constans. [ruby-dev:36175]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
11:11 AM Revision ca314805 (git): * transcode.c (econv_description): show ECONV_HTML_TEXT_ENCODER and
ECONV_HTML_ATTR_ENCODER.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:07 AM Revision e4b70ffe (git): * transcode.c (rb_econv_binmode): check actual transcoders.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:54 AM Revision f88c9f03 (git): * transcode.c (rb_econv_open): fix last_tc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:37 AM Revision 683eec7a (git): * io.c (rb_io_binmode): clear newline flags in writeconv_pre_ecflags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:48 AM Revision f10af82d (git): * transcode.c (str_transcode0): check ECONV_HTML_TEXT_ENCODER and
ECONV_HTML_ATTR_ENCODER.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:39 AM Revision 987ec6b7 (git): * transcode.c (allocate_converted_string): fix overflow condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:56 AM Revision 48659670 (git): eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:07 AM Revision e490d925 (git): * transcode.c (sym_html): new variable.
(sym_text): ditto.
(sym_attr): ditto.
(econv_opts): check :html=>:text and :html=>:attr.
(Init_transcode): initialize the above variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:47 AM Revision 34be4c1c (git): * include/ruby/encoding.h (ECONV_HTML_TEXT_ENCODER): new constant.
(ECONV_HTML_ATTR_ENCODER): ditto.
* transcode.c (rb_econv_open): check ECONV_HTML_TEXT_ENCODER and
ECONV_HTML_ATTR_ENCODER.
(Init_transcode): Encoding::Converter::HTML_TEXT_ENCODER and
Encoding::Converter::HTML_ATTR_ENCODER define...
akr (Akira Tanaka)
05:16 AM Revision 5117020d (git): * transcode.c (struct trans_open_t): defined to pass num_additional.
(trans_open_i): use struct trans_open_t.
(rb_econv_open): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:43 AM Revision 9f687d7b (git): * enc/trans/escape.trans (fun_so_escape_html_attr): fix return type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:44 AM Revision 27e9c48c (git): * transcode.c (rb_econv_open): needless branch removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:38 AM Revision 073bced3 (git): * transcode.c (rb_econv_open): test condition simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:26 AM Revision 393f5767 (git): * transcode.c (stateless_encoding_i): ignore supplemental conversions.
Encoding::Converter.stateless_encoding("html-attr-escaped") should be
nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:20 AM Revision 091171a2 (git): * enc/trans/escape.trans (escape_html_attr_init): new function.
(fun_so_escape_html_attr): new function.
(escape_html_attr_finish): new function.
(rb_escape_html_attr): use them to quote the converted result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19173 b2dd03c8-39d4-4d8f-98ff-823fe...
akr (Akira Tanaka)

09/05/2008

11:27 PM Revision d90ab4c0 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:25 PM Revision 7a04666b (git): * bignum.c (bigdivrem1): optimization by skipping zeros at the
tail of digits. a patch from TOYOFUKU Chikanobu
<nobu_toyofuku at nifty.com> in [ruby-dev:36169].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
11:17 PM Revision c8573378 (git): comment updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:55 PM Revision 803aafe7 (git): * complex.c: uses f_real_p macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:33 PM Revision 7d048a55 (git): fix a test for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:27 PM Revision 0be34e2a (git): * transcode.c (rb_econv_open): fail for ASCII incompatible with
newline conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:26 PM Revision d4384f12 (git): * io.c (rb_io_extract_modeenc): raise an error for ASCII incompatible
encoding without binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:29 PM Revision a10a5dda (git): * enc/trans/escape.trans: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:24 PM Revision fb9c53de (git): * tool/transcode-tblgen.rb (StrSet.parse): accept upper case
hexadecimal digits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:37 PM Revision dc98e252 (git): * transcode.c (output_hex_charref): upcase hexadecimal digits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:24 PM Revision c500c37f (git): * include/ruby/encoding.h (ECONV_UNDEF_HEX_CHARREF): defined.
* transcode.c (output_hex_charref): new function.
(rb_econv_convert): call output_hex_charref if
ECONV_UNDEF_HEX_CHARREF.
(Init_transcode): Encoding::Converter::UNDEF_HEX_CHARREF added.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
akr (Akira Tanaka)
07:03 PM Revision 7d3598ee (git): * transcode.c (rb_econv_convert): use ECONV_INVALID_MASK and
ECONV_UNDEF_MASK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:47 PM Bug #538 (Closed): undefined method `readpartial' for TestFileUtils::Stream
=begin
Applied in changeset r19148.
=end
nobu (Nobuyoshi Nakada)
06:26 PM Bug #538: undefined method `readpartial' for TestFileUtils::Stream
=begin
 ささだです.

Nobuyoshi Nakada wrote:
> なかだです。
>
> At Wed, 3 Sep 2008 18:41:17 +0900,
> SASADA Koichi wrote in [ruby-dev:36124]:
>> 1) Error:
>> test_copy_stream(TestFileUtils):
>> NoMethodError: undefined method `readpart...
ko1 (Koichi Sasada)
05:53 PM Bug #538: undefined method `readpartial' for TestFileUtils::Stream
=begin
なかだです。

At Wed, 3 Sep 2008 18:41:17 +0900,
SASADA Koichi wrote in [ruby-dev:36124]:
> 1) Error:
> test_copy_stream(TestFileUtils):
> NoMethodError: undefined method `readpartial' for
> #<TestFileUtils::Stream:0x000000050...
nobu (Nobuyoshi Nakada)
06:24 PM Revision 31b6ea65 (git): * include/ruby/ruby.h (DBL2NUM): renamed from DOUBLE2NUM.
a patch from Tadashi Saito <shiba at mail2.accsnet.ne.jp>
in [ruby-dev:36102].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:20 PM Revision 80abde2c (git): * transcode.c (allocate_converted_string): add arguments for a buffer
allocated by caller.
(rb_econv_insert_output): provide caller allocated buffer to
allocate_converted_string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:59 PM Revision f0d9f949 (git): * transcode.c (str_transcode_enc_args): local variables renamed.
(str_transcode0): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:25 PM Revision e93289c0 (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:23 PM Revision 134ca08d (git): * transcode.c (econv_s_stateless_encoding): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:02 PM Revision a1892af3 (git): * 2008-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:02 PM Revision f2fd6d3b (git): * transcode.c (enc_arg): extracted from str_transcode_enc_args.
(str_transcode_enc_args): use enc_arg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:30 AM Revision 01acf187 (git): * include/ruby/io.h (rb_io_modestr_fmode): renamed from
rb_io_mode_flags.
(rb_io_modestr_oflags): renamed from rb_io_mode_modenum.
(rb_io_oflags_fmode): renamed from rb_io_modenum_flags.
(rb_io_mode_flags): defined as a macro.
(rb_io_modenum_flags): ditto.
* io.c: follow the renaming...
akr (Akira Tanaka)
11:16 AM Revision debeb7db (git): * enc/trans/newline.trans (universal_newline_finish): new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:10 AM Revision 067b9873 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:08 AM Revision 12a55a6c (git): * include/ruby/io.h (rb_io_mode_modenum): moved from
include/ruby/intern.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:59 AM Revision 0153a4ea (git): * io.c (MODENUM_MAX): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:37 AM Revision 6c2108e2 (git): * io.c (copy_stream_fallback_body): use read method unless readpartial
is available. [ruby-dev:36124]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:16 AM Revision 07e08245 (git): * ext/iconv/iconv.c (iconv_create): strips glibc style option before
charset mapping. retris without options if they seemed causing
error, and warns. [ruby-dev:36147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/04/2008

10:25 PM Bug #496: DRb.start_service(nil) is very slow
=begin
The last t.addr is instant for me as well.
=end
hongli (Hongli Lai)
08:47 PM Bug #496: DRb.start_service(nil) is very slow
=begin
OK, how about this:

require 'socket'
t = TCPServer.new("", nil)
t.addr
t.addr

Socket.do_not_reverse_lookup=true
t.addr

On my machine, the first 't.addr' invocations take about 5 seconds. The las...
candlerb (Brian Candler)
06:23 PM Revision f0bf74a0 (git): * iseq.c (iseq_data_to_ary): make it static.
* thread.c (thgroup_enclose): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:58 PM Revision d803c452 (git): * vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
05:41 PM Revision ca253f40 (git): * thread.c (rb_thread_critical): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:22 PM Revision 205d9ef1 (git): * io.c (argf_mark): mark p->encs.ecopts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:46 PM Revision f549f1ae (git): * transcode_data.h (rb_transcoder): rename fields:
from_encoding -> src_encoding, to_encoding -> dst_encoding.
* transcode.c: follow the renaming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:35 PM Revision a50b3079 (git): * transcode.c: variables renamed for consistency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:06 PM Revision 5091f1db (git): * 2008-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 40c771fd (git): * pack.c (encodes): make buff fixed length to avoid SEGV by
ruby -e '["a"*10000000].pack("m1000000000")'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:47 PM Revision d44ee210 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_mode): set exception mode
correctly. In spite of BigDecimal.mode(BigDecimal::EXCEPTION_ALL,
true), BigDecimal.new("NaN") did not raise an exception previously.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:43 PM Revision dac421a9 (git): * include/ruby/intern.h (rb_file_open_str): declared.
* io.c (rb_file_open_str): defined.
* ext/zlib/zlib.c (gzfile_s_open): use rb_file_open_str instead of
rb_file_open.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:20 PM Revision 64b633f0 (git): * enc/trans/newline.trans: record newline types met in universal
newline decoder.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:09 PM Revision 645f2535 (git): * lib/prime.rb (Prime::OldCompatibility#each): added compatibility to
Ruby 1.8.7.
(Prime#each): added more rdocs.
(Prime#each): remembers the last value of the given block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:17 PM Revision 0406b0f1 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:58 PM Revision 6ce32308 (git): property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:55 PM Revision 5da4e660 (git): * transcode.c (econv_init): accept an integer as 3rd argument as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:48 PM Revision 2494e67f (git): * transcode.c (sym_partial_input): new variable.
(econv_primitive_convert): accept a hash as 5th argument as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:08 PM Revision f7607eff (git): * transcode.c (sym_universal_newline_decoder): new variable.
(sym_crlf_newline_encoder): ditto.
(sym_cr_newline_encoder): ditto.
(econv_opts): check newline converter options.
(econv_init): make 3rd argument hash/nil only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19130 b2dd03c8-39...
akr (Akira Tanaka)
12:04 PM Revision 4780af95 (git): * vm_dump.c: rename some debug functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:03 PM Feature #542: cgi.rb : CGI::unescape return encoding
=begin
藤岡です。

>> その部分は何も変換されません。
>> エンコーディングはASCII-8BITになります。
>
> [ruby-dev:36138] の実装は (引数が ASCII-8BIT 以外で非ASCII文
> 字が入っていれば) 例外になりそうですが、そんなことはありませ
> んか?

つまりencodingが間違っている場合ということですか?
その場合は例外でもいいような。。。
ASCII-8BITに変換してから処理し...
xibbar (Takeyuki FUJIOKA)
09:46 AM Feature #542: cgi.rb : CGI::unescape return encoding
=begin
藤岡です。

Fujioka wrote:
>> CGI::unescapeは現在は引数のencodingでforce_encodingするように
>> なっていますが、ascii_only?がtrueの場合はUS-ASCII、
>> falseの場合はASCII-8BITを返すのがいいと思います。
>
> ascii_only? なときに US-ASCII を返すのはいいと思うのですが、
> false なときに ASCII-8BIT...
xibbar (Takeyuki FUJIOKA)
08:31 AM Feature #542: cgi.rb : CGI::unescape return encoding
=begin
成瀬です。

Takeyuki Fujioka wrote:
> CGI::unescapeは現在は引数のencodingでforce_encodingするように
> なっていますが、ascii_only?がtrueの場合はUS-ASCII、
> falseの場合はASCII-8BITを返すのがいいと思います。

ascii_only? なときに US-ASCII を返すのはいいと思うのですが、
false なときに ASCII-8BIT...
naruse (Yui NARUSE)
06:22 AM Feature #542: cgi.rb : CGI::unescape return encoding
=begin
藤岡です。

>> CGI::unescapeは現在は引数のencodingでforce_encodingするように
>> なっていますが、ascii_only?がtrueの場合はUS-ASCII、
>> falseの場合はASCII-8BITを返すのがいいと思います。
>
> 引数にもともと非ASCII文字が入っていた場合にはどうなりますかね。

その部分は何も変換されません。
エンコーディングはASCII-8BITになります。
...
xibbar (Takeyuki FUJIOKA)
12:00 PM Revision 80843ea1 (git): * thread.c (rb_thread_check_trap_pending): added for compatibility.
* ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: remove ruby/signal.h
dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:31 AM Revision 0031967d (git): * transcode_data.h (PType): defined unconditionaly.
* transcode.c (PType): don't define here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:20 AM Revision b53f7a1c (git): * io.c: variables renamed for consistency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:47 AM Revision c56ef25c (git): * gc.c (gc_profile_record_get): to static function.
(gc_profile_result): ditto.
(gc_profile_report): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
10:22 AM Revision 49e9f427 (git): * include/ruby/io.h (rb_io_enc_t): rename flags to ecflags.
(rb_io_t): rename writeconv_pre_flags to writeconv_pre_ecflags.
(MakeOpenFile): follow the renaming.
* io.c: follow the renaming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:15 AM Revision 45c37073 (git): * include/ruby/encoding.h (ECONV_INVALID_IGNORE): removed because
it tend to cause security problem. If the behaviour is really
required, ECONV_INVALID_REPLACE with empty string can be used.
For example, CVE-2006-2313, CVE-2008-1036, [ruby-core:15645]
(ECONV_UNDEF_IGNORE): ditto.
* transcode.c ...
akr (Akira Tanaka)
04:37 AM Revision 1633eb72 (git): * vm.c (rb_vm_mark): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:22 AM Revision c5bf9cee (git): * vm_core.h (struct rb_vm_struct): replaced signal staff with trap
staff.
* signal.c (signal_buff): per process resouce now.
* signal.c (trap_list): moved to VM.
* signal.c (rb_get_next_signal): reverted.
* signal.c (rb_trap_exit): trap_pending_list was no longer used.
* thread.c (timer_thread_func...
nobu (Nobuyoshi Nakada)
04:01 AM Revision 83e28e51 (git): * io.c (struct sysopen_struct, rb_sysopen_internal, rb_sysopen):
constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:33 AM Revision 8f0f91e1 (git): * io.c: expanded ARGF members macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:43 AM Revision 783541e0 (git): * tool/transcode-tblgen.rb (citrus_decode_mapsrc): support older 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:33 AM Revision 747d9b39 (git): * io.c (argf_next_argv, argf_set_encoding): copy struct wise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:48 AM Revision 31b05412 (git): * io.c (rb_scan_open_args): follow rb_str_transcode change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:40 AM Revision d2aa9dd1 (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:05 AM Revision b9406002 (git): * file.c (rb_find_file): fix GC problem on Debian GNU/Linux (IA64)
with gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21).
There is no register/memory to contain load_path. A register (r35)
contains &RARRAY_PTR(load_path), (char*)load_path + 32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
akr (Akira Tanaka)

09/03/2008

11:55 PM Feature #542: cgi.rb : CGI::unescape return encoding
=begin
この修正のテストを追加
Index: test/cgi/test_cgi_class_method.rb
===================================================================
--- test/cgi/test_cgi_class_method.rb (リビジョン 0)
+++ test/cgi/test_cgi_class_method.rb (リビジョン 0)
@@...
xibbar (Takeyuki FUJIOKA)
09:35 PM Feature #542 (Rejected): cgi.rb : CGI::unescape return encoding
=begin
CGI::unescapeは現在は引数のencodingでforce_encodingするように
なっていますが、ascii_only?がtrueの場合はUS-ASCII、
falseの場合はASCII-8BITを返すのがいいと思います。

Index: lib/cgi.rb
===================================================================
--- lib/cg...
xibbar (Takeyuki FUJIOKA)
10:40 PM Bug #543 (Closed): cgi.rb : obsolete regex "n" option except CGI#pretty
=begin
どうせだったら全部洗ってしまおうと思ってCGI#pretty以外の
nオプションを使っているところをすべてピックアップしました。

Index: lib/cgi.rb
===================================================================
--- lib/cgi.rb (リビジョン 19071)
+++ lib/cgi.rb (作業コピー)
@@ -286,7...
xibbar (Takeyuki FUJIOKA)
09:32 PM Bug #541 (Closed): cgi.rb : obsolete regex "n" option
=begin
CGI::prettyの正規表現部分にnが使われているので
warningが出ます。
Index: lib/cgi.rb
===================================================================
--- lib/cgi.rb (リビジョン 19071)
+++ lib/cgi.rb (作業コピー)
@@ -1245,14 +1245,14 @@
# #...
xibbar (Takeyuki FUJIOKA)
07:37 PM Bug #525: test_convert(TestBignum) on NETBSD
=begin
子プロセスが存在しないときにwaitpid(2)の第1引数に0を与え、かつ、第3引数に不正な値を指定した場合、第1引数のチェックが優先されてECHILDになるか、第3引数のチェックが優先されてEINVALになるか、は、POSIXでは規定されていないように思います。
よって、Rubyでどちらかになることを強制する気がない限り、このテストはプラットフォーム依存の結果をチェックしているに過ぎないことになります。

仕様を決めるか、テストを直すか、ま...
usa (Usaku NAKAMURA)
07:06 PM Bug #525: test_convert(TestBignum) on NETBSD
=begin

=end
ko1 (Koichi Sasada)
07:05 PM Bug #525: test_convert(TestBignum) on NETBSD
=begin

=end
ko1 (Koichi Sasada)
07:27 PM Bug #495 (Closed): Failure: test_priority(TestThread)
=begin
Applied in changeset r19082.
=end
ko1 (Koichi Sasada)
06:58 PM Bug #495: Failure: test_priority(TestThread)
=begin

=end
ko1 (Koichi Sasada)
07:05 PM Bug #527: test_execopts_pgroup(TestProcess) fails on NetBSD
=begin

=end
ko1 (Koichi Sasada)
07:05 PM Revision dead0a4c (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:03 PM Bug #538: undefined method `readpartial' for TestFileUtils::Stream
=begin

=end
ko1 (Koichi Sasada)
06:47 PM Bug #538 (Closed): undefined method `readpartial' for TestFileUtils::Stream
=begin
 ささだです.

 test-all で以下のような失敗になります.

1) Error:
test_copy_stream(TestFileUtils):
NoMethodError: undefined method `readpartial' for
#<TestFileUtils::Stream:0x0000000503ccf8>
/home/ko1/ruby/trunk/lib/fileutils.r...
ko1 (Koichi Sasada)
07:03 PM Bug #536 (Closed): 実行ファイルの1行目に-Eオプションを置くとエラー
=begin

=end
ko1 (Koichi Sasada)
02:16 PM Bug #536: 実行ファイルの1行目に-Eオプションを置くとエラー
=begin
藤岡です。

> OSがわかりませんけど、これ、Rubyの問題じゃないのではないでしょうか?
> shebang行に二つ以上の引数を置ける環境は少なかったと思うのですが。
>
向こうでいろいろ教えていただきましたが、
複数の引数はダメなんですね。了解しました。
スペースを置かないで書けば大丈夫なのもわかりましたので、
チケット閉じてくださってOKです。
=end
xibbar (Takeyuki FUJIOKA)
01:51 PM Bug #536 (Closed): 実行ファイルの1行目に-Eオプションを置くとエラー
=begin
#!ruby19 -E euc-jp

p Encoding.default_external
----
上のようなファイルを実行すると
% ruby19 /tmp/jikken.rb
ruby19: missing argument for --encoding (RuntimeError)
こうなります。
./jikken.rbでも同様です。
=end
xibbar (Takeyuki FUJIOKA)
07:03 PM Bug #528: Several ruby-mode.el improvements
=begin

=end
ko1 (Koichi Sasada)
07:01 PM Bug #516: REXML::Text#wrapは空白が含まれない場合を想定していない
=begin

=end
ko1 (Koichi Sasada)
07:01 PM Bug #466: test_str_crypt(TestM17NComb) failed
M17N でなくライブラリ側の問題というのと、妥当な解決策の判断がわたしにはつけられないので、
とりあえず担当を西山さんに預けます。
naruse (Yui NARUSE)
07:01 PM Bug #506: ObjectSpace.each_object Segmentation fault
=begin

=end
ko1 (Koichi Sasada)
07:00 PM Feature #504: Tempfile.open should return the new tempfile rather than nil
=begin

=end
ko1 (Koichi Sasada)
06:59 PM Bug #501: rubygems fails to cache spec file
=begin

=end
ko1 (Koichi Sasada)
06:59 PM Bug #499 (Rejected): RubyGems の CommandManager が singleton になっていない
=begin

=end
ko1 (Koichi Sasada)
11:35 AM Bug #499: RubyGems の CommandManager が singleton になっていない
=begin
これなんですが、取り下げさせていただきます。

class A
def self.instance
@a ||= new # ここで @a は Class クラスのインスタンス A のインスタンス変数
end
end
A.instance # => #<A:0xb7ce833c>
A.instance # => #<A:0xb7ce833c>
A....
okkez (okkez _)
06:58 PM Bug #497: NEWSを書く
=begin

=end
ko1 (Koichi Sasada)
06:58 PM Bug #493: Failure: test_dup(TestIO)
=begin

=end
ko1 (Koichi Sasada)
06:57 PM Feature #494: Errno.const_missing
=begin

=end
ko1 (Koichi Sasada)
06:56 PM Bug #491: makeが"string contains null byte"で失敗します
=begin

=end
ko1 (Koichi Sasada)
06:56 PM Feature #490: relayouting struct RNode
=begin

=end
ko1 (Koichi Sasada)
06:55 PM Feature #481: improved gcd for 1.9
=begin

=end
ko1 (Koichi Sasada)
06:54 PM Feature #474: Hash#<<
=begin

=end
ko1 (Koichi Sasada)
06:54 PM Feature #471: pack format 'm' based on RFC 4648
=begin

=end
ko1 (Koichi Sasada)
06:53 PM Bug #470: File::openのドキュメント
=begin

=end
ko1 (Koichi Sasada)
06:52 PM Bug #452: config.guess returns "i386" on Mac OSX 10.5.4.
=begin

=end
ko1 (Koichi Sasada)
06:51 PM Feature #462: autoload with a block
=begin

=end
ko1 (Koichi Sasada)
06:51 PM Bug #457: Is irb/xmp supported in 1.9?
=begin

=end
ko1 (Koichi Sasada)
06:49 PM Feature #442: name referencing in sprintf
=begin

=end
ko1 (Koichi Sasada)
06:49 PM Feature #427: FileTest return values
=begin

=end
ko1 (Koichi Sasada)
06:22 PM Revision 8c321128 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:18 PM Revision 58964e32 (git): * include/ruby/io.h (rb_io_t): new fields: encs.ecopts and
writeconv_pre_ecopts.
(MakeOpenFile): initialize them.
* include/ruby/encoding.h (rb_str_transcode): take ecopts argument.
(rb_econv_flags): removed.
(rb_econv_prepare_opts): declared.
(rb_econv_open_opts): declared.
* io.c (ma...
akr (Akira Tanaka)
04:34 PM Revision 0ebcad6a (git): * include/ruby/encoding.h (rb_econv_set_replacemenet): declared.
* transcode.c (rb_econv_t): new fields: replacement_str,
replacement_len, replacement_enc and replacement_allocated.
(get_replacement_character): make len as size_t.
(rb_econv_open_by_transcoder_entries): initialize the new fields....
akr (Akira Tanaka)
04:31 PM Revision c359b801 (git): comment updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:14 PM Revision e6471197 (git): * win32/win32.c (filetime_to_timeval): new function, split from
gettimeofday().
* win32/win32.c (gettimeofday): use above function.
* win32/win32.c (filetime_to_unixtime): ditto. [ruby-dev:36135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19106 b2dd03c8-39d4-4d8f-98ff-823f...
U.Nakamura
04:02 PM Revision 9b6608c7 (git): * transcode.c (transcode_restartable0): avoid VC++6's bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:27 PM Revision 71e00fd0 (git): * io.c (make_writeconv): follow akr's previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:11 PM Revision 56343375 (git): * include/ruby/encoding.h (rb_econv_option_t): removed. Since
rb_econv_option_t has only one field, int flags, rb_econv_option_t is
replaced by int.
* include/ruby/io.h: follow the above change.
* io.c: ditto.
* transcode.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19103 b2d...
akr (Akira Tanaka)
03:06 PM Revision b00710df (git): * win32/win32.c: fix ruby/signal.h depending codes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:02 PM Revision 44a522c6 (git): * 2008-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision c309cda9 (git): * test/etc/test_etc.rb (test_getpwuid, test_getgrgid): use
Process.euid and egid instead of Etc.getlogin to identify current
user which may be different from a login one (e.g., su command).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:54 PM Revision 1f322f83 (git): s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:54 PM Revision 65b15446 (git): * test/etc/test_etc.rb: check only typical use of
setpwent/getpwent/endpwent and setgrent/getgrent/endgrent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:34 PM Revision 1afc1b7b (git): * transcode.c (rb_transcoding): moved from transcode_data.h.
(TRANSCODING_READBUF): ditto.
(TRANSCODING_WRITEBUF): ditto.
(TRANSCODING_STATE_EMBED_MAX): ditto.
(TRANSCODING_STATE): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:12 PM Revision f6441bf6 (git): * transcode_data.h (rb_transcoding): remove stateful field.
add state field.
(TRANSCODING_STATE): defined.
(rb_transcoder): add fields: state_size, state_init_func,
state_fini_func.
change rb_transcoding* argument to void*.
* transcode.c (transcode_restartable0): use TRANSCODING_STATE fo...
akr (Akira Tanaka)
01:57 PM Revision fce09343 (git): * lib/mathn.rb (Integer): moved into prime.rb.
(Prime): ditto.
* lib/prime.rb (Integer): moved from mathn.rb.
(Integer.each_prime): added.
(Integer#prime?): added.
(Prime): moved from mathn.rb.
Its implmentation was rewritten. see [ruby-dev:35863].
And patched by Keiju...
yugui (Yuki Sonoda)
12:54 PM Revision 9cab7d15 (git): * lib/scanf.rb: fixed bug involving matching literal '['
* test/scanf/test_scanf.rb: added test for scanf.rb fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
dblack (David Black)
12:35 PM Revision 6378201f (git): * transcode_data.h (WORDINDEX_SHIFT_BITS): defined.
(WORDINDEX2INFO): defined.
(INFO2WORDINDEX): defined.
* tool/transcode-tblgen.rb: use WORDINDEX2INFO.
* transcode.c: use INFO2WORDINDEX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:21 PM Revision b99c31b3 (git): * golf_prelude.rb: suppress warning when goruby -v.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:09 PM Revision 6fe24d1f (git): refactor last change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:08 PM Revision 069f85f8 (git): * transcode.c (BL_MIN_BYTE): defined.
(BL_MAX_BYTE): defined.
(BL_OFFSET): defined.
(BL_ACTION): defined.
(transcode_restartable0): use BL_MIN_BYTE, BL_MAX_BYTE and
BL_ACTION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19090 b2dd03c8-39d4-4d8f-98ff-823fe69b...
akr (Akira Tanaka)
11:59 AM Revision ac5631e6 (git): * transcode.c (BYTE_ADDR): defined.
(WORD_ADDR): ditto.
(BL_BASE): use BYTE_ADDR and WORD_ADDR.
(BL_INFO): use WORD_ADDR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:48 AM Revision 4277473d (git): * transcode_data.h (rb_transcoder): new field: byte_array_length and
word_array_length.
* tool/transcode-tblgen.rb (transcode_generated_code): generate
byte_array_length and word_array_length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:36 AM Revision 9233dc9b (git): * tool/transcode-tblgen.rb (ArrayCode): new class.
(ActionMap#gen_array_code): moved to ArrayCode.
(ActionMap#numelt_array_code): ditto.
(ActionMap#array_code_insert_at_last): ditto.
(TRANSCODE_GENERATED_BYTES_CODE): use ArrayCode.
(TRANSCODE_GENERATED_WORDS_CODE): ditto.
git-s...
akr (Akira Tanaka)
11:09 AM Revision 4406629b (git): * enc/trans/japanese.trans: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:07 AM Revision 8108417c (git): * tool/transcode-tblgen.rb (ActionMap#gen_array_code): extracted from
generate_lookup_node.
(ActionMap#numelt_array_code): ditto.
(ActionMap#array_code_insert_at_last): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:02 AM Revision 2eb76385 (git): * parse.y (parser_encoding_name): defined.
(parser_tokadd_mbchar): show encoding in the message of
"invalid multibyte char" error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:28 AM Revision 03e77875 (git): * vm_insnhelper.c (vm_method_missing): C99.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:19 AM Revision cb0ade87 (git): * test/ruby/test_thread.rb: fix test.
[ruby-dev:35960]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:57 AM Revision 42a48c1e (git): * enc/trans/make_transdb.rb: check $(srcdir)/enc/trans before
enc/trans.
* enc/trans/make_transdb.rb: keep names_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:00 AM Revision 204929af (git): * include/ruby/signal.h: removed.
* common.mk, class.c, eval.c, eval_intern.h, file.c, gc.c, hash.c,
io.c, process.c, signal.c: vm_core.h: ditto.
Some unused external global variables are also removed.
(rb_prohibit_interrupt, rb_trap_immediate, rb_trap_pending,
r...
ko1 (Koichi Sasada)
07:53 AM Revision 4c1486d3 (git): * 2008-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:53 AM Revision abbe26c6 (git): * gc.c (rb_mark_set): new function to mark keys.
* marshal.c (struct dump_arg, struct load_arg): added wrappers to mark
data entries. backport from trunk r13527,r13528,r13961,r16533.
[ruby-dev:36082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19078 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
05:35 AM Revision 028c1b16 (git): Add svn:ignore entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
12:27 AM Bug #529 (Closed): method_missing の再定義で Stack consistency error
=begin
Applied in changeset r19072.
=end
mame (Yusuke Endoh)
 

Also available in: Atom