Activity
From 09/06/2008 to 09/12/2008
09/12/2008
-
10:21 PM Bug #164 (Closed): set_trace_func no longer reports 'line', 'call' and 'return' events
- =begin
=end
-
10:21 PM Bug #161 (Closed): Profile library seems broken in 1.9 15427cat t.rv
- =begin
=end
-
06:45 PM Revision 2cc9b488 (git): * transcode.c (rb_econv_prepare_opts): raise ArgumentError if
- a broken string is specified as a replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:32 PM Revision 965ff823 (git): * iseq.c (iseq_s_compile_file): use rb_file_open_str.
- * io.c (rb_file_open_generic): call validate_enc_binmode.
(rb_file_open_str): call FilePathValue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:04 PM Feature #255: CGI element generation methods should convert keys/values to Strings before escaping.
- =begin
=end
-
06:00 PM Revision 207ad0a2 (git): add tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:58 PM Revision 76c02f05 (git): * io.c (validate_enc_binmode): extracted from rb_io_extract_modeenc.
- (rb_io_extract_modeenc): use validate_enc_binmode.
(io_encoding_set): call validate_enc_binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:53 PM Revision 7e58885f (git): * transcode.c (rb_econv_prepare_opts): initialize *opt and return 0
- if opthash is nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:30 PM Revision 41d3a014 (git): * enc/trans/escape.trans: transcoder name renamed to use underscore.
- * transcode.c: follow the renaming.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:13 PM Revision 248acf00 (git): * transcode.c (rb_econv_init_by_convpath_i): new function.
- (rb_econv_init_by_convpath): new function.
(econv_init): use rb_econv_init_by_convpath.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:13 PM Revision cf861763 (git): * transcode.c (econv_args): take snamev_p and dnamev_p to prevent
- possible GC problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:39 PM Revision c6ff62d2 (git): * 2008-09-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision aa423b93 (git): * transcode.c (enc_arg): take arg as VALUE * to prevent GC problem.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:20 PM Revision c0bd38eb (git): * transcode.c (rb_econv_add_transcoder_at): fix loop condition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:53 PM Revision 2d80b169 (git): * transcode.c (decorator_names): extracted from rb_econv_open.
- (rb_econv_open): use decorator_names.
(econv_args): extracted from econv_init.
(econv_init): use econv_args.
(decorate_convpath): new function.
(search_convpath_i): new function.
(econv_s_search_convpath): new method.
(Init_t... -
12:58 PM Revision 89a5c998 (git): * transcode.c (rb_econv_t): new field: num_allocated.
- (rb_econv_alloc): extracted from
rb_econv_open_by_transcoder_entries.
(rb_econv_add_transcoder_at): extracted from rb_econv_decorate_at
and generalized
(rb_econv_open_by_transcoder_entries): use rb_econv_alloc and
rb_econv_add_... -
12:23 PM Revision 19438eee (git): * transcode.c (rb_econv_t): new field: started.
- (rb_econv_open_by_transcoder_entries): initialize started field.
(rb_econv_convert): set started field.
(rb_econv_insert_output): ditto.
(rb_econv_decorate_at): check started field instead of num_finished.
git-svn-id: svn+ssh://c... -
11:31 AM Revision 290ae0ea (git): comment modified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:30 AM Revision 0de51bcc (git): add tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:30 AM Revision 2af2eb28 (git): * regenc.c (onigenc_single_byte_code_to_mbc): follow OnigEncoding
- change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 AM Revision eca8de63 (git): * regparse.c (parse_exp): fix resource leak.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/11/2008
- 04:37 PM Revision d1724ecb (git): * 2008-09-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:37 PM Revision 3f1a95ce (git): * ext/syck/node.c (syck_replace_str2): fix wrong check to free ptr.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:10 PM Feature #542: cgi.rb : CGI::unescape return encoding
- =begin
藤岡です。
Tanaka Akira さんは書きました:
>> encoding情報はもらえないので、期待するしかないです。
>> だからといってASCII-8BITかUS-ASCIIのどちらでしか
>> データを貰えないというのも面倒かなと思うのですが、
>> どうしたらいいと思いますか?
>
> アプリケーションが期待するエンコーディングを cgi.rb に
> 教えてやるしかないし、そうするのが良いと思います。
>
了解... -
11:15 AM Revision 73412af5 (git): * test/win32ole/test_err_in_callback.rb (teardown): get rid
- of infinite loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 AM Revision d51b0615 (git): * include/ruby/oniguruma.h (OnigCodePoint): unsigned long to unsigned int.
- * include/ruby/encoding.h (rb_enc_codepoint): ditto.
* encoding.c (rb_enc_codepoint): signed int to unsigned int.
* encoding.c (rb_enc_ascget): ditto.
* string.c (rb_str_casecmp): ditto.
* string.c (enc_succ_alnum_char): ditto.
* st... -
10:10 AM Revision 9886722c (git): * ext/iconv/iconv.c: add attention for machine independent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:30 AM Revision 63471c7c (git): * bignum.c (bigdivrem): adjust length for division and remainder.
- a patch from TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in
[ruby-dev:36231].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Revision ba753443 (git): * bignum.c (big2str_karatsuba): remove unnecessary fixnum code. a
- patch from TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in
[ruby-dev:36217].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 AM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
- =begin
岩室です。
うえ、MatchDataにするんですか? scanと一致させて欲しいなぁ、と思ってるんですが……。
# scanもMatchDataにしたら、統一性は取れるだろうけど、もっと激しく、ぎゃっとなるような気する。
2008/09/10 15:28 Yui NARUSE <redmine@ruby-lang.org>:
> チケット #546 が更新されました。 (by Yui NARUSE)
>
> カテゴリ coreにセ... -
12:33 AM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
- =begin
岩室です。
この件、しばらく検討してみた結果、以下のように考えています。
・ブロックパラメータをscanと一致させることで、統一性が得られ、また、何より、マッチした文字列を$1, $2,
...ではなく名前での参照を可能にする。これは記述性や可読性の向上に貢献する。
・確かに、非互換による影響を受けるコードが少ないとは言い切れない。しかし、比較的検出が容易※で、1.8でも1.9でも動くような修正を行うことも容易であるため、変更のメリットは... -
12:34 AM Bug #547: IPV6系の定数が未定義
- =begin
岩室です。
# 反応が遅いですが……。
2008/09/08 18:40 Yukihiro Matsumoto <matz@ruby-lang.org>:
> とりあえずTCP/IPV6関係で必要なものに絞り込んでいただけませんか。
えーっと、では週末あたりに調べるということで……。
ぶっちゃけ、どれがどのような役目なのかさっぱりなので、ネットワークまわりに詳しい方にコメントいただければ幸いです。
--
IWAMURO M...
09/10/2008
-
11:18 PM Bug #555: method_missing in Gem module removes some necessary methods
- =begin
=end
-
06:54 AM Bug #555 (Closed): method_missing in Gem module removes some necessary methods
- =begin
I found something strange in Ruby 1.9 bundled Rubygems(gem_prelude.rb).
(1) there's a method named default_dir in Gem module, which returns a certain directory name
Gem.default_dir
#=> "/Users/matsuda/ruby/lib/ruby/gem... -
11:17 PM Bug #549: ri -f html mungles constants
- =begin
=end
-
11:16 PM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
- =begin
=end
-
03:34 PM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
- =begin
検索すると標準添付ライブラリでもひっかかっていますが、
こちらについてはすでに対処済みです。
まぁ、ぎゃっとなるケースでも、ブロックパラメータが String から MatchData になるだけなので、
str.gsub(/foo/){|bar| ...} ならば、
str.gsub(/foo/){|bar| bar=bar.to_s; ...} ならば、
にしておけばとりあえず動くようになるわけですが。
Match... -
07:43 PM Revision 5cebd713 (git): fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:00 PM Revision 7e0b2b1d (git): * io.c (io_binwrite): extracted from io_fwrite.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:45 PM Revision 1bd34a09 (git): properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:26 PM Revision 10ddce38 (git): * transcode.c (make_encoding): new function.
- (make_encobj): new function.
(econv_s_asciicompat_encoding): use make_encoding.
(rb_econv_open_exc): use SUPPLEMENTAL_CONVERSION.
(econv_convpath): use encoding object in the result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... - 05:15 PM Revision c25f22fb (git): * 2008-09-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:15 PM Revision 4e93ace2 (git): * transcode.c (econv_convpath): new method.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 PM Feature #542: cgi.rb : CGI::unescape return encoding
- =begin
藤岡です。
>>> 成瀬さんとやり取りをした結果、やはりヘッダのcharsetを見て
>>> そのencodingをつけてあげるのが筋だろうという話になりました。
>> ブラウザはここで利用できる charset をつけてくれるんでしょう
>> か?
>
> application/x-www-form-urlencoded にはそもそも charset がありませんし、
> multipart/form-data にも charse... -
03:17 PM Feature #542: cgi.rb : CGI::unescape return encoding
- =begin
On Wed, 10 Sep 2008 14:33:34 +0900
In article <48C75DB4.5010908@rabbix.jp>
[[ruby-dev:36241] Re: [Feature #542] cgi.rb : CGI::unescape return encoding]
Fujioka <fuj@rabbix.jp> wrote:
> でも、例えばUTF-8を期待しているアプリにEUC-JPをポストして
... -
02:52 PM Feature #542: cgi.rb : CGI::unescape return encoding
- =begin
On Wed, 10 Sep 2008 13:51:26 +0900
In article <87ej3stx68.fsf@fsij.org>
[[ruby-dev:36239] Re: [Feature #542] cgi.rb : CGI::unescape return encoding]
Tanaka Akira <akr@fsij.org> wrote:
> In article <48C0C20E.4000307@rabbix... -
02:40 PM Feature #542: cgi.rb : CGI::unescape return encoding
- =begin
藤岡です。
>> 成瀬さんとやり取りをした結果、やはりヘッダのcharsetを見て
>> そのencodingをつけてあげるのが筋だろうという話になりました。
>
> ブラウザはここで利用できる charset をつけてくれるんでしょう
> か?
いえ、つけてくれません。
あくまでCGIアプリ側が期待することになります。
でも、例えばUTF-8を期待しているアプリにEUC-JPをポストして
例外が起きるのは好ましくありませ... -
02:20 PM Bug #551 (Closed): SIZE_MAX is not defined in VC++
- =begin
r19240で対応しました。
# このチケットの存在に気づいてませんでした。すみません
=end
-
02:07 PM Revision a4a3c855 (git): * tool/compile_prelude.rb: print "<internal:prelude>" instead of
- "prelude.rb" on stack trace. [ruby-dev:36129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:15 PM Revision 22fe2621 (git): * test/win32ole/test_err_in_callback.rb: InternetExplorer should
- be closed.
* test/win32ole/err_in_callback.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:57 AM Revision 3cf69b5d (git): test modified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:33 AM Bug #554: Sync_m#sync_try_lockの引数が無視されている
- =begin
石塚圭樹 さんは書きました:
>> http://rubyforge.org/tracker/index.php?func=detail&aid=11680&group_id=426&atid=1700
> その通りです.
> チェックインの方お願いしてしまってよろしいでしょうか?
trunkにcommitしました。
ruby_1_8のほうはよく見るとFailを呼ぶ前に
Thread.critical=false
としているところが... -
10:27 AM Bug #554 (Closed): Sync_m#sync_try_lockの引数が無視されている
- =begin
Applied in changeset r19280.
=end
-
12:10 AM Bug #554: Sync_m#sync_try_lockの引数が無視されている
- =begin
けいじゅ@いしつかです.
In [ruby-dev :36234 ] the message: "[ruby-dev:36234] Re: [Bug #554]
Sync_m#sync_try_lockの引数が無視されている ", on Sep/09 22:38(JST)
akira yamada / やまだあきら writes:
>http://rubyforge.org/tracker/index.php?func=detail&ai... - 09:34 AM Revision 3da03397 (git): * lib/uri/common.rb (URI::Parser): new class.
- * lib/uri/mailto.rb, lib/uri/generic.rb: follow the above change.
* test/uri/test_parser.rb: added tests for URI::Parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:36 AM Revision 0bedb3e5 (git): * lib/cgi/cookie.rb (CGI::Cookie#to_s): performance improvement
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:22 AM Revision 3293f6cf (git): * lib/sync.rb (Sync_m#sync_exclusive): fixed
- typo. [ruby-dev:36233] [RubyForge#11680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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... -
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... -
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... -
06:59 PM Feature #542 (Rejected): cgi.rb : CGI::unescape return encoding
- =begin
いずれencodingの自動付与機能を搭載するということで、
このチケットは閉じます。
=end
-
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 -
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-... -
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 -
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... - 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
-
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 -
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 - 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
-
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... -
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
-
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 -
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 -
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... -
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
-
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
-
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でアルゴリズムを選択するという拡張機能のあ
> ...
...
09/08/2008
-
10:41 PM Bug #543 (Closed): cgi.rb : obsolete regex "n" option except CGI#pretty
- =begin
Applied in changeset r19245.
=end
-
10:37 PM Bug #541 (Closed): cgi.rb : obsolete regex "n" option
- =begin
Applied in changeset r19245.
=end
-
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
-
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"になっていたときの
ことを考えていなかったのですが、気に... -
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`"や"... -
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
-
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" <deenheart+ruby@gmail.com> writes:
|close されたと思ったら、何時の間にか IP... -
12:03 AM Bug #547: IPV6系の定数が未定義
- =begin
岩室です。
2008/09/06 21:31 Yukihiro Matsumoto <redmine@ruby-lang.org>:
> チケット #547 が更新されました。 (by Yukihiro Matsumoto)
>
> ステータス OpenからClosedに変更
> 進捗 % 0から100に変更
close されたと思ったら、何時の間にか IPV6_* が追加されてますね。けど、IPPROTO_IPV6 等がないので十分... -
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... -
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
-
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
-
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
- 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
-
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
-
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... - 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
-
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 -
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のファイナライザの処理に問題があるのでは
ないかと思います。
こ... -
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 - 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
-
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://... - 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 -
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
-
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... - 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
- 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 -
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
09/07/2008
-
11:35 PM Bug #550: irbで日本語を入力できない
- =begin
なお、Mac OS X や NetBSD でも GNU readline を用いるようにすれば表示可能なはずです。
また、意欲のある方は libedit 側を直すという手もあります。
=end
-
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/
よって、仕様です。
... -
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 ... -
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
- 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 -
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 -
06:07 PM Bug #466 (Closed): test_str_crypt(TestM17NComb) failed - Applied in changeset r19213.
-
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 <redmine@ruby-lang.org> writes:
>以下のようにconfigureでチェックしてしまうのがいいかと思ったのですが、
> ...... -
12:45 PM Bug #466: test_str_crypt(TestM17NComb) failed
- 以下のようにconfigureでチェックしてしまうのがいいかと思ったのですが、
どうでしょうか?
影響範囲がよくわからなかったので、実際に値が変わってしまうことがあった
darwinの時だけチェックするようなパッチにしてみました。
~~~diff
Index: configure.in
===================================================================
--- configure.... -
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 -
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
-
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
- 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
-
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
- 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
-
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 -
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-... -
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
-
11:58 AM Bug #548 (Closed): segmentetion fault by socket connection
- =begin
中村です。
すみません。単に make install し忘れていました。。。
私の環境でも make install すると再現しなくなりました。
お騒がせしました。以後気をつけます。。。
=end
-
05:54 AM Bug #548: segmentetion fault by socket connection
- =begin
うちでは再現しませんね。同じi686-linuxなのに。
-vの出力revision 18218はかなり古いですが、これは単にmake upしていないだけでしょうか。trunk最新ですか?
また、実行はmake installした状態で行っていますか?
=end
-
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... -
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
-
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
-
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 -
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 -
10:13 AM Bug #506 (Closed): ObjectSpace.each_object Segmentation fault
- =begin
=end
-
09:47 AM Bug #541: cgi.rb : obsolete regex "n" option
- =begin
=end
-
09:47 AM Feature #542: cgi.rb : CGI::unescape return encoding
- =begin
=end
-
09:46 AM Bug #543: cgi.rb : obsolete regex "n" option except CGI#pretty
- =begin
=end
-
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 -
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.... -
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 -
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 -
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
-
07:37 AM Bug #528 (Closed): Several ruby-mode.el improvements
- =begin
Applied in changeset r19202.
=end
-
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 <redmine@ruby-lang.org> writes:
|Applying each of the patches in order from 1 to ... -
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
-
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 <redmine@ruby-lang.org> writes:
|File 0006--misc-ruby-mode.el-fix-a-variable-name... -
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... -
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 <redmine@ruby-lang.org> writes:
|Looks like these patches are broken. I've fixed ... -
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... -
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... -
07:17 AM Bug #491 (Closed): makeが"string contains null byte"で失敗します
- =begin
Applied in changeset r19201.
=end
-
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 -
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_... -
01:17 AM Bug #505 (Closed): 1.upto 2 {|i| p i }
- Applied in changeset r19197.
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 -
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
-
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 -
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 -
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 -
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 -
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 -
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 -
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 -
09:37 PM Bug #547 (Closed): IPV6系の定数が未定義
- =begin
Applied in changeset r19189.
=end
-
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 <redmine@ruby-lang.org> writes:
|socketに、IPPROTO_IPV6やIPV6_JOIN_GROUP等のIPV6系の定数が未定義です。
|
|何が未定... -
07:52 PM Bug #547 (Closed): IPV6系の定数が未定義
- =begin
socketに、IPPROTO_IPV6やIPV6_JOIN_GROUP等のIPV6系の定数が未定義です。
何が未定義なのか列挙しようとしたのですが、参考にPython-2.5.2のソースを見たら、あまりにもたくさんあったので挫折しました……。
=end
-
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
-
08:31 PM Feature #546: String#gsub と Strnig#scan のブロックパラメータの一致
- =begin
岩室です。
うは、前言一部撤回。
2008/09/06 20:00 Yukihiro Matsumoto <matz@ruby-lang.org>:
> |・gsub のパターンにカッコを付けた場合、ブロックパラメータを参照するケースは極めて限定的と思われるので、仕様を変更しても影響は少ないと思われる。
>
> うーん、本当かなあ。実際にやってみて誰かに「ぎゃっ」と言って
> もらうしか確認の手段はないかもしれませんね。
ちょっ... -
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 <redmine@ruby-lang.org> writes:
|String#gsub のブロックパラメータの仕様を Str... -
07:33 PM Feature #546 (Rejected): String#gsub と Strnig#scan のブロックパラメータの一致
- =begin
String#gsub のブロックパラメータの仕様を Strnig#scan のものに合わせることを提案します。
[ruby-dev:33548]からの一連のスレッドではいろいろ案が出たあげく議論が止まっていますが、
・現状の gsub の仕様では、カッコを付けたとき、ブロックパラメータがほとんど役に立たないので困る。
・gsub と scan は似た振る舞いをするので、ブロックパラメータの仕様も合わせるべき。
・scan ... -
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 -
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
-
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 -
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
-
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
- 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
-
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-... -
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 -
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... -
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
-
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
-
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 -
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
-
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
-
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
-
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 -
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
-
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
-
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 -
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... -
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 -
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
-
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
-
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
-
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 -
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...