Activity
From 03/01/2012 to 03/07/2012
03/07/2012
-
10:51 PM Bug #6123: Properly gemify BigDecimal
- Happily: #6124
Thank you. -
10:42 PM Bug #6123: Properly gemify BigDecimal
- Vit Ondruch wrote:
> Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. Thi... -
10:27 PM Bug #6123: Properly gemify BigDecimal
- Could you please enlighten me what is the purpose of fake gem then? Even if you install updated BigDecimal from rubygems.org, the bundled version will won unless you use "gem 'bidgecimal'" somewhere in the code. This makes no sense.
-
10:15 PM Bug #6123 (Rejected): Properly gemify BigDecimal
- This is not only for bigdecimal but also io-console, json, minitest, psych, rake, and rdoc.
It is because they are not true gem, they are fake gem. -
10:06 PM Bug #6123: Properly gemify BigDecimal
- Please note that I picked the BigDecimal just randomly. It applies to all other "gems" which are currently bundled in Ruby.
-
10:05 PM Bug #6123: Properly gemify BigDecimal
- Better to say, the expected behavior is:
$ ruby --disable-gems -e "puts require('bigdecimal')"
-e:1:in `require': cannot load such file -- bigdecimal (LoadError)
from -e:1:in `<main>'
-
10:02 PM Bug #6123 (Rejected): Properly gemify BigDecimal
- BigDecimal is available as a gem, however, the version in Ruby is crippled. It just tries to mimic gems, but it is not gem. So currently:
$ ruby -e "puts require('bigdecimal')"
true
$ ruby --disable-gems -e "puts require('bigdecimal... -
10:50 PM Bug #6124 (Closed): remove the "spec-only gems" in Ruby 1.9.3 (was What is the purpose of "fake" gems in Ruby)
- As I tried to point out in #6123, the "fake" gems which are distributed with Ruby breaks user's expectations. The following example should fail:
$ ruby --disable-gems -e "puts require('bigdecimal')"
true
However, it is not failing... -
10:37 PM Bug #6120: Float and BigDecimal bug in remainder in corner cases
- Ruby's math should portably follow SuS. [ruby-core:28206]
You can fix it for Float/Math if it is obviously wrong and the right implementation is clear.
BigDecimal is little another world and it is up to mrkn. -
02:51 PM Bug #6120 (Closed): Float and BigDecimal bug in remainder in corner cases
- Currently:
4.2.remainder(+Float::INFINITY) # => 4.2, ok
4.2.remainder(-Float::INFINITY) # => NaN, should be 4.2
# (same with all signs reversed)
Reasons the remainder should be 4.2 and not NaN:
1) foo.remainder(bar) ... -
10:25 PM Bug #6121 (Assigned): [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
-
03:16 PM Bug #6121 (Closed): [[Ruby 1.9:]] Etc.sysconfdir hides sysconfdir on windows
- While checking on this issue https://gist.github.com/1981223 I found out that Etc.sysconfdir is inconsistently behaving between Linux and Windows.
This issue is related to rubygems also: https://github.com/rubygems/rubygems/pull/291
... -
08:10 PM Bug #6122 (Closed): OpenSSL::PKCS7 verify
- # not_after can not later than 2038-01-19 11:14:07
# verify can pass wrong certificate
require 'OpenSSL'
class Rsa
attr_reader :key, :cert
@@sha = OpenSSL::Digest::SHA1.new
@@aes = OpenSSL::Cipher.new("aes-128-ofb")... -
01:45 PM Revision 0c8ae916 (git): * lib/xmlrpc/client.rb (module XMLRPC): fix typo.
- * test/xmlrpc/test_client.rb (test_async_call): add test for
XMLRPC::Client#call_async to check above fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:10 AM Feature #5922: Migrate equal? to identical?
- =begin
The name of #equal? is part of a pattern.
In Common Lisp:
(eq a b) ; most strict
(eql a b)
(equal a b)
(equalp a b) ; least strict
In Ruby:
a == b # least strict
a.eql? b
a.equal? b # most stri... -
10:49 AM Bug #6099 (Assigned): [BUG] probable buffer overflow
- Masaki Matsushita wrote:
> IO#readpartialにも同様の問題があるようです。
> ...
IO#readpartial は
* It blocks only if <em>ios</em> has no data immediately available.
* The later means that readpartial is nonblocking-flag insensitive.
* It blocks... -
10:13 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
- たいして長くないので添付じゃなくインラインにしますが、
SNDCTL_DSP_SPEED = 0xc0045002 - 0x1_0000_0000
SNDCTL_DSP_STEREO = 0xc0045003 - 0x1_0000_0000
SNDCTL_DSP_SETFMT = 0xc0045005 - 0x1_0000_0000
AFMT_S16_LE = 0x00000010
open("/dev/dsp", "w:ASCII-... -
08:41 AM Feature #5221 (Closed): LoadEerror#path
- Applied in r34938
-
08:21 AM Feature #5221: LoadEerror#path
- I agree.
-
08:30 AM Feature #3090 (Closed): xml-rpc support for i8 data type
- This issue was solved with changeset r34936.
Stas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!
... -
08:26 AM Feature #5096: offer Logger-compatibility for syslog ext
- The repository is here: https://github.com/seattlerb/sysloglogger
I will attach a patch to this issue soon. -
08:22 AM Bug #5354 (Closed): Module#remove_const documentation is confusing
- Fixed by Nobu in r29519. Thanks for reporting this issue.
-
08:07 AM Bug #5324 (Closed): Bug in CreateChild in win32.c
- Duplicate of #5325
-
08:07 AM Bug #5323 (Closed): Bug in CreateChild in win32.c
- Duplicate of #5325
-
07:45 AM Bug #5660 (Closed): xmlrpc/client.rb issue
- This issue was solved with changeset r34935.
Nathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/client.rb: assume servers that do not send a Conte... -
07:43 AM Bug #5252 (Closed): Segmentation Fault
- Closing this, as apparently due to faulty proprietary C extension.
-
07:30 AM Revision 075d98c7 (git): * error.c (rb_load_fail): should honor encoding.
- * load.c (load_failed): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:33 AM Bug #6119: Usage of CPPFLAGS during configure result in duplicated values for RbConfig CPPFLAGS information
- I bet $CPPFLAGS and $cppflags are doing a two step. See if you have something similar to the following (from trunk) in the `lib\ruby\1.9.1\i386-mingw32\rbconfig.rb` file:
grep "S\[\"CPPFLAGS" config.status
S["CPPFLAGS"]="-DFD_SETSIZE... -
04:22 AM Bug #6119 (Closed): Usage of CPPFLAGS during configure result in duplicated values for RbConfig CPPFLAGS information
- When attempted to use FD_SETSIZE preprocesor definition under Windows to increase number of file descriptions, found that configure script replicated it.
A simple configure invoke with `sh configure --enable-shared CPPFLAGS='-DFD_SETS... -
05:22 AM Revision 8e07edf3 (git): * load.c (load_failed): no need to guard fname, it's stored in the exception to be raised.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Revision 81809e27 (git): * ChangeLog: commit miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 AM Revision 72de92d1 (git): rb_load_fail
- * error.c (rb_load_fail): use path as a string, not char*.
* internal.h: (rb_load_fail): moved from ruby/intern.h.
* ruby.c (load_file_internal): fname cannot be NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34941 b2dd03c8-39d... -
01:28 AM Revision 293249fb (git): * test/xmlrpc/data/blog.xml: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/06/2012
-
11:49 PM Revision a555b762 (git): updating changelog with ruby-core number
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:38 PM Revision d576a25c (git): * error.c (rb_loaderror_with_path): Adding the missing file as an
- instance variable to the LoadError exception.
* load.c: call rb_loaderror_with_path so that the missing path is
added to the exception.
* ruby.c: call rb_loaderror rather than raising our own LoadError
exception.
* include/ruby/in... -
11:30 PM Revision c95cfa0a (git): use factory method for constructing Net::HTTP objects
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:30 PM Revision ce2f6986 (git): * lib/xmlrpc/parser.rb: support i8 types. Thanks Stas Kelvich!
- [ruby-core:29246] [Feature #3090]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:45 PM Revision 9e9264c8 (git): * lib/xmlrpc/client.rb: assume servers that do not send a Content-Type
- header are sending 'text/xml'. Thanks Nathan Leavitt!
[ruby-core:41204] [Bug #5660]
* test/xmlrpc/test_client.rb: supporting test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:40 PM Revision 8029539d (git): * 2012-03-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:40 PM Revision 1ac1163f (git): * test/xmlrpc/test_client.rb: adding a test for performing an XMLRPC
- call.
* test/xmlrpc/data/blog.xml: supporting XML document for the response.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:40 PM Bug #5626 (Closed): io/console: Cannot disable raw mode
-
05:55 PM Feature #6118 (Feedback): Hash#keys_of(values), returns related keys of given values
- Hash#key(value) の複数版がほしいです。
{a: 1, b: 2, c: 3, d: 1}.key(1)
=> :a
というメソッドはあるのですが、
{a: 1, b: 2, c: 3, d: 1}.keys_of(1)
=> [:a, :d]
というメソッドは現状ありません。
Ruby での実装例は以下のような感じになります。
どうでしょうか。
class Hash
def keys_of(*a)
each_... -
04:19 PM Bug #4525 (Closed): Exponential performance when summing Enumerable
- Hi,
Ivo Wever wrote:
> When you sum an Enumerable (using .inject(:+) or in a more verbose fashion), 1.8.7 and 1.9.2 show exponential performance, where JRuby and Rubinius show the expected linear behavior.
This is unrelated to `i... -
04:18 PM Bug #6117 (Closed): Transfers allowed into Fibers that have resumed into other fibers
- Consider the following code:
```ruby
require 'fiber'
def foo
order = []
main_fiber = Fiber.current
a = Fiber.new do
order << 2
x = Fiber.new do
order << 4
main_fiber.transfer
... -
02:48 PM Bug #2788: nil.instance_eval pushes nil onto cref
- test-all also points out that `@@class_level_variable` would then refer to `NilClass`/`FalseClass`/`TrueClass`'s class variables, contrary to other singleton classes. This would be consistent with `class << nil` vs `class << my_string`.
-
02:27 PM Bug #2788: nil.instance_eval pushes nil onto cref
- Behavior is intended, as per tests in bootstraptest/test_eval.rb and [ruby-core:16808], but I'm don't think it's the right way to go, since `nil`, `true` and `false` do have singleton classes.
Koichi, do you agree the following patch ... -
01:46 PM Feature #4234: Hash#default_proc= Doesn't Accept nil Argument
- Changing this to 'feature'.
I'm in favor of this change, with a small change to the doc. The interface should be read:
hsh.default_proc = proc_obj or nil
I think it is indeed not clear how to clear a default_proc. See:
http:/... -
01:32 PM Bug #3844 (Closed): Kernel.methods(false) not documented
- Fixed in r33939. Thank you for reporting this issue.
-
01:20 PM Feature #6079 (Rejected): Hash#each_sorted
- Closing as no implementation can improve on simple `sort.each`.
-
01:09 PM Bug #6106 (Closed): Ruby documentation ambiguous about mixed sign ranges in indexes
- This issue was solved with changeset r34927.
Perry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_aref): Improve rdoc, as per [bug #6106] -
10:11 AM Bug #6116 (Closed): IO#raw {|io| ...} で文字入力がエコーバックしない
- This issue was solved with changeset r34917.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
... -
09:56 AM Revision f4cda1e5 (git): merge revision(s) 33251,33259,33424:
- * lib/test/unit/assertions.rb (assert_send): make arguments in
the default message clearer.
* lib/test/unit/assertions.rb (assert_send, assert_not_send):
parenthesize non-empty arguments.
git-svn-id: svn+ss... -
09:47 AM Revision 2fbc01fb (git): Fix typo.
- reported by Nobuhiro IMAI.$
https://twitter.com/no6v/status/176959588531314688
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:44 AM Revision f35fa238 (git): Comment out unused lines.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:24 AM Revision bc6dde94 (git): * parse.y (parser_tokadd_string): escape simple regexp meta
- character termninators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:11 AM Revision a872bd3d (git): merge revision(s) 34927:
- * string.c (rb_str_aref): Improve rdoc, as per [bug #6106]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:09 AM Revision 8a4de7ab (git): * string.c (rb_str_aref): Improve rdoc, as per [bug #6106]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:48 AM Revision 4257124d (git): merge revision(s) 34917:
- * ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
bits too.
* ext/io/console/console.c (echo_p): ignore ECHOE and ECHOK bits.
[ruby-dev:45309] [Bug #6116]
* ext/io/console/console.c (co... -
03:40 AM Revision 9f8a7d00 (git): merge revision(s) 33786:
- * ext/io/console/console.c (console_raw, console_set_raw)
(console_getch): optional parameters. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 AM Revision 7a208f4b (git): merge revision(s) 33785:
- * ext/io/console/console.c (console_cooked, console_set_cooked):
new methods to reset cooked mode. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:32 AM Revision c7495f99 (git): merge revision(s) 34376:
- * ext/io/console/console.c (io_getch): default delegating method
for StringIO. https://github.com/nobu/io-console/issues/4
* ext/stringio/stringio.c: moved some methods to hidden modules.
git-svn-id: svn+ssh://ci.ru... -
03:31 AM Revision 9ca160c1 (git): merge revision(s) 33172,33968:
- * ext/io/console/console.c (console_set_winsize): remove
unused variable.
* io.c (Init_IO): Mention io/console methods. [Ruby 1.9 - Bug #5602]
* ext/io/console/console.c: Mention that io/console must be required
... -
03:27 AM Revision 0c493edc (git): merge revision(s) 32747:
- * remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Revision acc55c25 (git): merge revision(s) 34919:
- * lib/yaml/rubytypes.rb (Exception.yaml_new): fix bug that causes
YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the m... -
03:03 AM Revision 383ad674 (git): merge revision(s) 34908:
- * lib/yaml/rubytypes.rb (Exception.yaml_new): fix bug that causes
YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the m... -
02:43 AM Revision 0496299e (git): merge revision(s) 34908:
- * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
that causes YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so c... -
01:34 AM Bug #6115 (Closed): A block after the do-block without parenthesis
- This issue was solved with changeset r34913.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (block_call): rules for block_call after block_cal... -
01:11 AM Revision dd9569de (git): * ext/io/console/console.c (set_rawmode): clear ECHOE and ECHOK
- bits too.
* ext/io/console/console.c (echo_p): ignore ECHOE and ECHOK bits.
[ruby-dev:45309] [Bug #6116]
* ext/io/console/console.c (console_raw): fix rdoc.
* ext/io/console/console.c (console_set_echo): mentioned about
platform depe... -
12:52 AM Feature #5583: Optionally typing
- Hi,
Koichi Sasada wrote:
> Shugo Maeda wrote:
> ...
Once Matz rejected a proposal of method annotations because he didn't like that methods had such attributes at runtime. It might be acceptable if method annotations have comment-s... -
12:09 AM Bug #6067: Conditional assignment of a nested constant raises a SyntaxError
- One would think it would evaluate similar to:
(A::X = 1 if ! defined? A::X or A::X.nil? ; A::X)
For comparison, these also fail:
ruby -e 'module A; end; p A::X = 2; p A::X ||= 1'
ruby -e 'module B module Inner end end...
03/05/2012
-
11:37 PM Bug #6116 (Closed): IO#raw {|io| ...} で文字入力がエコーバックしない
- 以下のドキュメントにならって、IO#raw で gets したところ入力がエコーバックしませんでした。
Yields +self+ within raw mode.
STDIN.raw(&:gets)
will read and return a line with echo back and line editing.
一方、以下のようにしてみたところ、Debian squeeze だと 1.9.3-p125 と、r34909 ... -
10:59 PM Bug #6115 (Closed): A block after the do-block without parenthesis
- =begin
= ((<pull request 102 by pasberth: A block after the do-block without parenthesis|URL:https://github.com/ruby/ruby/pull/102>))
((<patch|URL:https://github.com/pasberth/ruby/commit/2d6624238aae89110141a8e223f244bf92eb27a9>))
I... -
10:19 PM Revision 2706b60c (git): * lib/xmlrpc/client.rb: switch net/http post2 calls to modern
- `request_post` methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:48 PM Revision 8456c060 (git): only run `test_key` on ruby 2.0.0 or up
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:32 PM Revision 62ffffbe (git): * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded
- in order to stop method pollution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:59 PM Feature #6070: The scope of for loop variables
- (2012/03/05 16:10), Shugo Maeda wrote:
> For loops are syntactically close to while loops, but for loops are
> semantically more close to blocks, so I think it's better to make for
> loops consistent with blocks.
I like curre... -
04:23 PM Feature #6070: The scope of for loop variables
- Hello,
2012/3/1 George Koehler <xkernigh@netscape.net>:
> This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have... -
04:34 PM Revision c46bdadb (git): * parse.y (block_call): rules for block_call after block_call.
- based on a patch by pasberth https://github.com/ruby/ruby/pull/102
[ruby-dev:45308][Bug #6115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:24 PM Revision 45f3651d (git): * parse.y (block_command, block_call): simplified rules.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:17 PM Revision 68ff00d9 (git): * 2012-03-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 PM Revision 0827c384 (git): assert_valid_syntax
- * test/ruby/test_syntax.rb (assert_valid_syntax): new assertion to
validate syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:53 AM Bug #6112 (Closed): String#byteslice、BigMath.#log のコメントの typo など
- This issue was solved with changeset r34899.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
... -
11:49 AM Feature #6095: Question about block parameter syntax
- なかだです。
(12/02/27 13:12), Yukihiro Matsumoto wrote:
> 添付のパッチで直りそう。だれか確認してもらえませんか?
よさそうです。r34832のテストは通ることを確認しました。
--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦 -
11:49 AM Feature #6095: Question about block parameter syntax
- まつもと ゆきひろです
添付のパッチで直りそう。だれか確認してもらえませんか?
In message "Re: [ruby-dev:45290] Question about block parameter syntax"
on Sun, 26 Feb 2012 13:59:11 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
| ささだです.
|
| 1.times{
... -
11:49 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
- こんにちは、なかむら(う)です。
古いチケットですが、r34507でまた踏んだので蒸し返します。
In message "[ruby-dev:42671] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
on Dec.02,2010 21:30:53, <akr@fsij.org> wrote:
> あまりよくわかっていないんですが、これって Q... -
11:49 AM Bug #5952: コマンドラインモードで CGI.new を 2 回実行すると IOError が発生する
- 2012年1月31日9:34 Tomoyuki Chikanaga <nagachika00@gmail.com>:
>
> Issue #5952 has been updated by Tomoyuki Chikanaga.
>
> Category set to core
>
> r29781 以降 Kernel#readlines (ARGF.readlines) で EOF を検出すると stdin を close するようになってい... -
11:49 AM Feature #5896: object representation in rb_enc_vsprintf()
- redmineにコメント書いたんですが、MLと連携されてないように見えるので
こちらにも投稿しときます。
警告については、gccの拡張ですしPRINTF_ARGSを諦めるのどうですか?
拡張した時点でprintf書式に合わないのはしようがないと思います。
--
樽家昌也(Masaya TARUI)
No Tool,No Life.
2012年1月16日22:00 Nobuyoshi Nakada <nobu@ruby-la... -
11:47 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- 2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
> Akira Tanaka wrote:
>> 2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
>>
>> > Currently, there's no public C API to create a Bignum.
>> > There is rb_big_pack... -
11:47 AM Feature #5663: Combined map/select method
- 2012/2/1 Nobuyoshi Nakada <nobu@ruby-lang.org>
>
> Issue #5663 has been updated by Nobuyoshi Nakada.
>
> Yura Sokolov wrote:
> > I often wish to have methods, which likes to `inject` but do use return
> value of block for next i... -
11:46 AM Bug #5915: Array#join with explicit nil should not use $,
- Array#join actually tries three coercions on elements: #to_str, followed by
#to_ary (for nested joins), followed by #to_s.
The separator is coerced with #to_str if it is not nil and not a
String. Note that this matters only for... -
11:46 AM Feature #5873: Adopt FFI over DL - (2012/01/14 12:30), KOSAKI Motohiro wrote:
>> To remove original DL completely, we have to bundle libffi itself
>> wholly.
>
> Why?
I have no idea about the original point and your question.
> Example, openssl is really impor... -
11:46 AM Feature #5893: named return,next...
- Hi,
In message "Re: [ruby-core:42115] Re: [ruby-trunk - Feature #5893][Open] named return,next..."
on Fri, 13 Jan 2012 23:26:36 +0900, Ondřej Bílka <neleai@seznam.cz> writes:
|> Doesn't throw/catch to that already?
|No... -
09:29 AM Revision bc4ef96c (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 AM Revision eb1eee03 (git): * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
- that causes YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the method with the message.
patched by Jingwen Owen Ou <jingweno AT gmail.com>.
... -
07:52 AM Revision a2749dbb (git): * ext/socket/extconf.rb: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:51 AM Revision 842c6f60 (git): * test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): syntax error.
- * test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): call uname
only on linux because it's a workaround for linux only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:40 AM Revision bfba60f8 (git): Remove unused variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 AM Revision 1d30263d (git): Fix condition of r34897.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:44 AM Revision 4a6e738a (git): * st.c (unpack_entries): chain entries directly. based on a patch
- by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 AM Revision 4a8c531a (git): * st.c (unpack_entries): use union instead of casted pointer.
- patched by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision 5bd91964 (git): * st.c: use PACKED_ENT and FIND_ENTRY. patched by Sokolov
- Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision e5ac1599 (git): * st.c (unpack_entries): reallocate bins if packed array size
- is not same as initial bins size. based on a patch by
Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 AM Revision 697b53d8 (git): * ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
- BigMath#log. patched by Sho Hashimoto [ruby-dev:45307] [Bug #6112]
* string.c (str_byteslice): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 AM Bug #6084: Ruby 1.9.3p125 Segfault while running nanoc compile
- I can't replicate with 1.9.3p134 or 1.9.3p155 [i386-mingw32] versions on Win7 32bit. One of my nanoc sites has a Rules file using `erubis`, `redcarpet`, and `colorize_syntax` https://github.com/thecodeshop/ruby/blob/gh-pages/_site_src/Ru...
- 01:16 AM Revision 2a70ec05 (git): * 2012-03-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:16 AM Revision 14e11379 (git): Old linux (at least CentOS 5.6, kernel 2.6.18) wakes up 4.99 sec.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/04/2012
-
11:21 PM Feature #5484 (Closed): regexp comparison bug
- This issue was solved with changeset r34896.
Denis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (parser_tokadd_string): regexp engine doesn't need
t... -
09:57 PM Bug #6084 (Feedback): Ruby 1.9.3p125 Segfault while running nanoc compile
-
09:48 PM Feature #4890: Enumerable#lazy
- Rodrigo Rosenfeld Rosas wrote:
> Thomas, I think it only makes sense for enumerables to be lazy if you call take(n) on it.
> ...
I disagree, i think lazy versions of all methods that return arrays are useful, to avoid generating interm... -
02:21 PM Revision 68a16f9a (git): * parse.y (parser_tokadd_string): regexp engine doesn't need
- terminators to be escaped. [ruby-core:40364][Bug #5484]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 PM Revision b212b84f (git): * hash.c: remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:39 AM Revision 44281c81 (git): * 2012-03-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:39 AM Revision b586af26 (git): * ChangeLog: fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:35 AM Bug #6112 (Closed): String#byteslice、BigMath.#log のコメントの typo など
- るりまを書いていて以下のコメントの間違いに気づきました。パッチを添付しますので、合ってるようであれば取り込んでやってください。
* String#byteslice の \u3042 を\u3942 と typo
* BigMath.#log がまだ残ってる
-
11:31 AM Bug #953 (Open): 深い入れ子の配列の取り扱いで落ちる
- =begin
辻本です。
trunkで再現するようになっているのでreopenしておきます。
$ ./ruby -v ./nest.rb
ruby 2.0.0dev (2012-03-03 trunk 34892) [x86_64-linux]
./nest.rb:5: [BUG] Segmentation fault
=end
-
12:22 AM Feature #6111 (Closed): Request for making ruby multiarchable
- i ask to make it possible to install ruby in more multiarch compatible dirs ...
with configure allone it is not possible
so the libs where are named /usr/lib/libruby(version) should go to /usr/lib/(arch)/libruby(version)
for the c...
03/03/2012
-
11:38 PM Bug #6110 (Rejected): #respond_to? returns true on 1.9.3 and false on ruby-head
- Sound intentional change.
http://ruby.11.n6.nabble.com/ruby-dev-40461-respond-to-lt-protected-method-name-gt-returns-true-td3535926.html
http://stackoverflow.com/questions/2569490/respond-to-and-protected-methods
-
05:42 PM Bug #6110 (Rejected): #respond_to? returns true on 1.9.3 and false on ruby-head
- Under ruby-head, when calling #respond_to? on another object of the same type false is always returned, even though the method can be called. However, this returns true under ruby 1.9.3.
Attached is a test that reproduces the problem. -
11:03 PM Feature #5484: regexp comparison bug
- Well, I originally reported it as a bug, since I got bit by it. I can't recall the context let alone the specifics.
Anyway... Feel free to close if you think this is to be expected (I'd argue it shouldn't...) -
09:41 PM Feature #4890: Enumerable#lazy
- I've faced problems while trying to push this idea further
so I came up with the straight C implementation of ruby code, submitted by Yutaka HARA.
Please, see this new PR https://github.com/ruby/ruby/pull/101
-
01:53 PM Revision 61c14872 (git): * process.c (rb_run_exec_options_err): chdir at last to interpret
- relative pathnames from the current directory of the parent process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:14 PM Bug #6109 (Closed): plain-char for isdigit(), etc
-
07:52 AM Bug #6109 (Closed): plain-char for isdigit(), etc
- =begin
cygwinで、以下のように((%date%))で警告が出ます。
compiling date_parse.c
date_parse.c: In function ‘s3e’:
date_parse.c:92:2: 警告: array subscript has type ‘char’
date_parse.c:141:2: 警告: array subscript has type ‘char’
date_parse.c:1... -
09:46 AM Feature #5873 (Closed): Adopt FFI over DL
- DL uses fiddle (with ffi) as a backend if ffi is available, so I will close this. We can talk about embedding libraries in a different thread. :-)
-
08:03 AM Bug #6108 (Closed): plain-char for isdigit()
- This issue was solved with changeset r34881.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/syck/rubyext.c (mktime_do): use ISDIGIT().
[ruby-cor... -
07:52 AM Bug #6108 (Closed): plain-char for isdigit()
- =begin
On cygwin, ((%syck%)) is warned as:
compiling rubyext.c
rubyext.c: In function 'mktime_do':
rubyext.c:280:9: warning: array subscript has type 'char'
compiling token.c
token.re: In function 'sycklex_yaml_utf8':
... -
06:13 AM Bug #6107 (Closed): Documentation Abbrev (stdlib) confusing
- The example in the documentation suggests Abbrev::abrev returns an Array. It does return a hash; the array is the result of the #sort method.
- 03:29 AM Revision cb521708 (git): trivial changes
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:22 AM Revision 7aa308f8 (git): typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:21 AM Revision e3b989c7 (git): * ext/date/date_strftime.c: reassigned some variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:14 AM Revision 9a0cb802 (git): * ext/date/date_{parse,strptime}.c [ruby-dev:45303].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:12 AM Revision 85e86697 (git): remove another call to Net::HTTP.version_1_2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision 46e293ec (git): * lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+,
- so we can safely remove the call to enable it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 AM Revision 5812975f (git): * test/xmlrpc/test_client.rb: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/02/2012
-
11:46 PM Revision 1836f44f (git): * lib/xmlrpc/client.rb (new2): use URI for uri parsing.
- * test/xmlrpc/test_client.rb: test that query params are passed to the
client constructor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:36 PM Feature #3176 (Closed): Thread#priority= should actually do something
- 1.9.3 has new thread scheduler and this problem is no longer reprodusable. closed then.
% ruby-193 thprio.rb
77219459 3027217 0.9245522144742793 true
% ruby-193 thprio.rb
78194222 2953676 0.9272026491678195 true
% ruby-193 t... -
11:21 PM Revision cd85cd25 (git): * lib/xmlrpc/client.rb (new2): raises an ArgumentError on bad
- arguments.
* test/xmlrpc/test_client.rb: tests for bad uris
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:12 PM Revision 60282ebf (git): * lib/xmlrpc/client.rb (new2): fix custom port specification when an
- SSL uri is used.
* test/xmlrpc/test_client.rb: tests for XMLRPC::Client.new2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:03 PM Revision b854733d (git): * ext/syck/rubyext.c (mktime_do): use ISDIGIT().
- [ruby-core:43060] [Bug #6108]
* ext/syck/token.c (sycklex_yaml_utf8): cast as unsigned char.
[ruby-core:43060] [Bug #6108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 PM Revision 5c9d7c54 (git): * configure.in (ruby_pc): make configurable. [Bug #6051]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:02 PM Revision d45a9e77 (git): * 2012-03-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:02 PM Revision 34fca5d7 (git): * 2012-03-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 PM Revision e794994b (git): * .travis.yml: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 PM Revision 0f3e2cd1 (git): * .travis.yml: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:35 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
- > This has two problems:
> ...
You took me a bit too literally. I only meant it should be _equivalent_ too calling `self.class.new`. In other words, it should return an instance of the subclass, not the base class. I did not mean to imp... -
12:31 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
- Yes, I do second this.
-
11:22 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- I apparently forgot to mention that I prefer the second approach, i.e. the equivalent of calling `dup` on the receiver.
I believe Aaron Patterson seconds this in [ruby-core:43030]
If this approach is accepted, the last remaining questi... -
10:50 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- Hi,
Thomas Sawyer wrote:
> I would think these methods should be using `self.class.new` for constructors thus returning the subclass. Although, that might not always possible.
This has two problems:
1) It imposes an API on the co... -
02:05 PM Revision 4525bcae (git): subclass of String
- * test/ruby/test_string.rb (TestString2): tests for subclass of
String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:12 PM Revision ae323a98 (git): * .travis.yml: Backport TravisCI configuration from trunk.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:50 AM Revision 9dcddfba (git): * .travis.yml (branches): Enable TravisCI for ruby_1_9_3.
- cf. https://twitter.com/#!/nalsh/status/170351549955055616
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:16 AM Revision effb5248 (git): * test/ruby/test_array.rb (test_combination2): Make the test case for
- [ruby-core:29240] more descriptive.
cf. http://bugs.jruby.org/6518
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision 8d07e087 (git): * common.mk (clean-ext, distclean-ext, realclean-ext): remove exts.mk too.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:37 AM Revision ee98d58f (git): * file.c (file_expand_path): use wcscasecmp().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 AM Revision ac018e7b (git): * thread_pthread.c (native_cond_timeout): cast explicitly to suppress
- a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:36 AM Revision 9d420721 (git): * 2012-03-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:36 AM Revision 82543043 (git): * io.c (pipe_open): cmd is no longer used if fork is available.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:49 AM Feature #5120: String#split needs to be logical
- Well, i didn't really want to keep '@', splitting on it and then joining with it would be fine :).
Thanks anyway. -
04:07 AM Feature #5120: String#split needs to be logical
- =begin
Tell split you want to keep the @ if you want to keep the @:
[' sam @ ', 'jim@'].map { |e| e.split(/(@)/).map(&:strip).join }" # => ["sam@", "jim@"]
=end
-
12:36 AM Feature #5120: String#split needs to be logical
- I would like add a use case which may be not very useful, but in my opinion illustrates the issue well.
I wanted to normalize some mistyped email addresses in a database and i did like this (because i forgot about this issue):
```r... -
03:58 AM Bug #6078: The name of a module nested in an anonymous module depends on how it was created
- There is a case not given above where it may make sense to give the class/module a name based on #inspect output of the containing class. This case is when the containing class is a singleton class:
$ irb
1.9.3p125 :001 > obj = Objec... -
03:44 AM Bug #6106 (Closed): Ruby documentation ambiguous about mixed sign ranges in indexes
- Although syntax like s[3..-1] is legal and will return element 4 to the end of the indexed object, the documentation is ambiguous and does not make it clear that this is legal. (Apparently the documentation in 1.4 and before did indicate...
-
02:45 AM Revision c31e7c1e (git): merge revision(s) 25230,34866:
- * marshal.c (struct {dump,load}_arg): manage with dfree, instead
of using local variable which may be moved by context switch.
[ruby-dev:39425]
* marshal.c (mark_dump_arg): mark destination string. patch by
... -
01:53 AM Revision 6e7e726b (git): * marshal.c (mark_dump_arg): mark destination string. patch by
- Vit Ondruch. [Bug #4339]
* marshal.c (clear_dump_arg, clear_load_arg): clean up also data
tables as same as symbols tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/01/2012
-
09:41 AM Revision b1bcb826 (git): merge revision(s) r33525: [Backport #6104]
- * file.c (rb_file_join): honor input encodings than ASCII-8BIT.
[ruby-core:40338] [Bug #5483]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Revision 0b89081b (git): * internal.h (rb_file_const, rb_file_load_ok): moved functions for
- internal use only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 AM Revision 27fbcb8e (git): doc/capi
- * common.mk (doc/capi): use macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision 29c630e7 (git): * win32/makedirs.bat: new command to make intermediate
- directories, and not to report any errors if the directory
already exists.
* win32/Makefile.sub (MAKEDIRS): enable command extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:46 AM Feature #6070: The scope of for loop variables
- =begin
This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have local variables, but while loops never have them. Here is... -
03:17 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Patrick Bennett wrote:
> With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
> ...
The problem is your system encoding.
For some reason from IBM437 to W... -
03:13 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
So, using your irb example up through the File.join
irb(main):001:0> a = File.expand_path "."
=> "d:/t... -
02:48 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Patrick Bennett wrote:
> Which other issue is this associated with?
> ...
Sorry, but with released patchlevel 125 I can no longer reproduce this: -
02:34 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Which other issue is this associated with?
Is this going to be patched back to 1.9.3? It's still present in 1.9.3p125