Project

General

Profile

Activity

From 08/14/2012 to 08/20/2012

08/20/2012

11:59 PM Revision ed720d55 (git): Fixed warning for implicit conversion from size_t to int
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
11:32 PM Bug #6896 (Third Party's Issue): Ruby crash bringing default http://localhost:3000 page
I reported this previously on the Ruby/Rails ibm_db support page and it was suggested that I post the problem here.
After starting the server with 'rails server' and accessing 'localhost:3000', the expected default page comes up and a...
dadler (David Adler)
08:52 PM Revision 3c3e6591 (git): * lib/csv.rb: Fixes #161 on github
* lib/csv.rb: You can now specify a pattern for :skip_lines.
Matching lines will not be passed to the CSV parser.
* lib/csv.rb: Patch by Christian Schwartz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36743 b2dd03c8-39d4-4d8...
James Edward Gray II
08:36 PM Bug #6891 (Closed): Protected methods in a module can't call super
This issue was solved with changeset r36736.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: iclass as klass in cfp
* vm_insnhelper.c (vm_c...
nobu (Nobuyoshi Nakada)
07:07 AM Bug #6891 (Closed): Protected methods in a module can't call super
Since r36616 modules that have protected methods and are extended on to another class cannot call super. Here is an example:
module A
def inherited klass
super
end
end
module B
protected
def inherited klass
...
tenderlovemaking (Aaron Patterson)
08:26 PM Revision 6ac1d39a (git): * re.c (rb_reg_initialize_m): Forgot to update output for or'd-options
example.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
08:19 PM Revision edd67a68 (git): * 2012-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:19 PM Revision decaaf84 (git): * re.c (rb_reg_initialize_m): Update example to show that regexp
options use | an not || to avoid confusion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:59 PM Bug #595: Fiber ignores ensure clause
こちら,返事が大変遅くなって済みません.

(2012/08/05 13:05), wanabe (_ wanabe) wrote:
> (1) GC で mark と sweep の間に、mark されていない Fiber を対象に
> (2) ruby_cleanup 中に、メインスレッドに所属するすべての Fiber を対象に
> (3) 子スレッド終了時(vm->living_threads から外されるとき)、所属するすべての Fiber...
ko1 (Koichi Sasada)
05:06 PM Bug #6885 (Assigned): Unexpected behaviour of DateTime.parse (this issue can be reproduced in Ruby 1.8/1.9 as well) 英語で書いてるけど日本語も分かります。
naruse (Yui NARUSE)
05:06 PM Bug #6886 (Third Party's Issue): Segmentation fault after update
You are using Mac bundled OpenSSL, aren't you?
Ruby can't work with Mac bundled OpenSSL
http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/
naruse (Yui NARUSE)
05:02 PM Bug #6889: Restore backwards compatibility of Net::HTTP
OK, commit it! naruse (Yui NARUSE)
04:54 PM Bug #6862 (Assigned): BigMath.exp negative exponent
naruse (Yui NARUSE)
04:10 PM Feature #6895 (Closed): TracePoint API
=begin
= Abstract
Let's introduce TracePoint API that can replace set_trace_func().
= Background
See discussions on [Feature #6649] <http://bugs.ruby-lang.org/issues/show/6649>.
Problems with set_trace_func:
* Invoke trac...
ko1 (Koichi Sasada)
02:06 PM Revision dde9f695 (git): parse.y: token name
* parse.y: more descriptive token names in syntax error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:02 PM Revision 89bcc681 (git): parse.y: token name
* parse.y: more descriptive token names in syntax error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:38 AM Revision f4bc341b (git): * ChangeLog: fix commit miss. remove duplicated entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:36 AM Revision ceece465 (git): vm_insnhelper.c: iclass as klass in cfp
* vm_insnhelper.c (vm_call_method): follow iclasses as klass in cfp
but not included modules. [ruby-core:47241] [Bug #6891]
* vm_insnhelper.c (vm_call_bmethod): pass defined_class to follow
proper ancestors. [ruby-core:47241] [Bug ...
nobu (Nobuyoshi Nakada)
11:21 AM Bug #6882 (Assigned): parallel test crashes when unknown exception is occured in a test
これっぽっちも直ってないのでreopen usa (Usaku NAKAMURA)
11:07 AM Bug #6882 (Closed): parallel test crashes when unknown exception is occured in a test
This issue was solved with changeset r36730.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit.rb, lib/test/unit/parallel.rb:
generate error ...
sorah (Sorah Fukumori)
10:32 AM Bug #6892 (Third Party's Issue): segfault of interpreter (possibly related to libxml-ruby)
I get a segfault of interpreter in some code of libxml-ruby extension. It is very susceptible to slight changes of my script, even totally unrelated to libxml-ruby, so I report it here.
Segfault is reproducible 90% of times on 2 differe...
bzaborow (Bartosz Zaborowski)
08:14 AM Revision f869ed2f (git): merge revision(s) 33991:
* file.c (file_path_convert): don't convert it when the path string is
ascii only. [ruby-core:41556] [Bug #5733]
tests are contributed by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36735 b...
naruse (Yui NARUSE)
07:31 AM Revision de83cb9b (git): test_module.rb: workaround for ruby-mode.el
* test/ruby/test_module.rb (TestModule#test_undef): get rid of
confusing ruby-mode.el by mixing special characters in //.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:46 AM Revision 73eda173 (git): * common.mk: fix failed to make with -j2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:46 AM Revision e107833c (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:07 AM Revision 1f07c9ab (git): * 2012-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:07 AM Revision 5f4b7f5a (git): * lib/test/unit.rb, lib/test/unit/parallel.rb:
generate error message (String) in parallel.rb instead of
marshalling Exception. Fixes [Bug #6882] [ruby-dev:46054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)

08/18/2012

04:28 PM Revision 8198cca9 (git): Merge branch 'pullreq/129' into trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
03:55 PM Revision 6a298a84 (git): * 2012-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 PM Revision 6eb31678 (git): * lib/fileutils.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
09:57 AM Bug #6888 (Closed): Small-ish bug?
This issue was solved with changeset r36725.
, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
enc/depend: fix inplace-build condition
* enc/depend: fix inplace-bu...
nobu (Nobuyoshi Nakada)
08:14 AM Bug #6888 (Closed): Small-ish bug?
=begin
git clone https://github.com/ruby/ruby.git ruby_git
cd ruby_git
autoconf
./configure
make
make distclean
git status
# On branch trunk
# Changed but not updated:
# (use "git add/rm <file>..." to update what wi...
Anonymous
08:34 AM Bug #6889 (Closed): Restore backwards compatibility of Net::HTTP
=begin
In Ruby 1.9.3 and earlier net/http defines a constant (({Net::HTTPSession})) which is an alias of (({Net::HTTP})).
In r35761 for #6435 I accidentally moved the constant to (({Net::HTTP::HTTPSession})).
The attached patch re...
drbrain (Eric Hodel)
07:23 AM Bug #6887 (Third Party's Issue): Time.zone.now returning different timezone that Time.zone.at
=begin
No such methods, (({Time#zone})) and (({Time#zone=})), are defined.
Probably ActiveSupport or similar gems.
=end
nobu (Nobuyoshi Nakada)
03:42 AM Bug #6887: Time.zone.now returning different timezone that Time.zone.at
Oops, I got the direction backwards, but the behavior is still expected. drbrain (Eric Hodel)
03:24 AM Bug #6887 (Rejected): Time.zone.now returning different timezone that Time.zone.at
Brazil uses daylight savings time. Jan 1 is in standard time, Aug 17th is in daylight savings time:
http://www.timeanddate.com/worldclock/timezone.html?n=45
drbrain (Eric Hodel)
02:37 AM Bug #6887 (Third Party's Issue): Time.zone.now returning different timezone that Time.zone.at
1.9.2p290 :018 > Time.zone = 'Brasilia'
=> "Brasilia"
1.9.2p290 :020 > Time.zone.now
=> Fri, 17 Aug 2012 13:08:06 BRT -03:00
1.9.2p290 :021 > Event.last.start_time
=> 2000-01-01 03:45:00 UTC
1.9.2p290 :022 > Time.zone....
anthfb (Anthony Figueroa)
02:23 AM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
On Fri, Aug 17, 2012 at 8:42 AM, nobu (Nobuyoshi Nakada)
<nobu@ruby-lang.org> wrote:
>
> Issue #6830 has been updated by nobu (Nobuyoshi Nakada).
>
>
> At least, the condition is not exact.
> With MacPorts OpenSSL, the con...
kosaki (Motohiro KOSAKI)
12:57 AM Revision 504dece4 (git): * 2012-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:57 AM Revision e6de05d7 (git): enc/depend: fix inplace-build condition
* enc/depend: fix inplace-build condition. enc.mk is generated with
setting $srcdir to enc, but pwd is still top build direcory.
[ruby-core:47236] [Bug #6888]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36725 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)

08/17/2012

09:42 PM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
At least, the condition is not exact.
With MacPorts OpenSSL, the constant has a correct path.
nobu (Nobuyoshi Nakada)
05:03 PM Bug #6872: Array does not specify how it determines uniqueness of values
drbrain (Eric Hodel) wrote:
> On Aug 16, 2012, at 12:40 AM, "robin850 (Robin Dupret)" <robin.dupret@gmail.com> wrote:
> ...
Okay, I think open a pull request it's a waste of time ; You can make the change with the URL and the .diff. So...
robin850 (Robin Dupret)
01:23 AM Bug #6872: Array does not specify how it determines uniqueness of values
On Aug 16, 2012, at 12:40 AM, "robin850 (Robin Dupret)" <robin.dupret@gmail.com> wrote:

> I'm sorry but how are you going to merge this ? Do you want me to open a pull request on github ?

If you add .patch or .diff to the github U...
drbrain (Eric Hodel)
04:09 PM Bug #6886: Segmentation fault after update
Sorry,
forgot to include the details:
This is about a Ruby on Rails application, which was running fine on 1.9.3-p125 and is still running fine on the production systems. It just fails to make the callback with RestClient on my dev...
NekoNova (Arne De Herdt)
04:07 PM Bug #6886 (Third Party's Issue): Segmentation fault after update
Hello,
Running into a segmentation fault when making a backend call with RestClient now.
Upgraded entire system to the latest version using MacPorts and RVM.
Process: ruby [15611]
Path: /Users/USER/*/ruby
Iden...
NekoNova (Arne De Herdt)
02:52 PM Revision cedb0db8 (git): common.mk: fix VPATH
* common.mk (ID_H_TARGET, parse.h): fix VPATH rules with nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:29 PM Revision b421bd0e (git): object.c: preserve encodings
* object.c (rb_any_to_s, rb_obj_inspect): preserve encodings of class
name and instance variable names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:42 PM Bug #6389 (Closed): Should be able to `return' and `break' from callback method of plain DL?
This issue was solved with changeset r36718.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl/lib/dl/func.rb (DL::Function#bind): allow to return/bre...
usa (Usaku NAKAMURA)
10:23 AM Feature #6875: Make test/unit default gem
こんにちは、なかむら(う)です。

In message "[ruby-dev:46056] [ruby-trunk - Feature #6875] Make test/unit default gem"
on Aug.16,2012 21:08:38, <naruse@airemix.jp> wrote:
> それでtest-allがきちんと完走するならわたしは異論無いんですが、どうなんでしょう。

test-allは--disab...
usa (Usaku NAKAMURA)
09:44 AM Bug #6885 (Closed): Unexpected behaviour of DateTime.parse (this issue can be reproduced in Ruby 1.8/1.9 as well) 英語で書いてるけど日本語も分かります。
I have written an mspec on the rubyspec project to demonstrate the existing behaviour:
https://github.com/markburns/rubyspec/commit/2ef354d4bdb41688ff84b65402faeb7b4e9a3844#L0R73e
d = DateTime.parse("2012-11-08T15:43:61")
# expected...
markburns (Mark Burns)
08:35 AM Revision f7c2791c (git): id.h.tmpl: preserved ids
* template/id.h.tmpl (preserved_ids): move from parse.y.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:35 AM Revision 200cea63 (git): id.h.tmpl: joke method names
* template/id.h.tmpl (method_ids): create also joke method names
non-separatedly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:36 AM Revision 9e1b74ff (git): incs: timestamp file
* Makefile.in, common.mk (incs): replace real header with the
timestamp file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:12 AM Revision 42dc1e5e (git): * id.c: move vm_opts.h dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:42 AM Revision 4a097d2e (git): * ext/dl/lib/dl/func.rb (DL::Function#bind): allow to return/break from
the callback method. (Fiddle already allows it.)
[Bug #6389] [ruby-dev:45604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:23 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
On Tue, Aug 14, 2012 at 10:10:23AM +0900, shugo (Shugo Maeda) wrote:
> Issue #6861 has been updated by shugo (Shugo Maeda).
> Aaron Patterson wrote:
> > > I and SEKI have discussed it, and have agreed to use cgi/util.
> > > CGI.es...
Anonymous
02:13 AM Revision 211525d7 (git): * 2012-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:13 AM Revision 78f8ad68 (git): vm_trace.c: remove meaningless assingments
* vm_trace.c (call_trace_func): remove meaningless assingments to same
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:12 AM Bug #6884 (Closed): test_fileutils.rb might end up rm -rf the whole current directory
Hi,
I was preparing r36709 and launching `make test-all` and I interrupted it (Ctrl+C) as I forgot something.
The next thing I saw is that my repository was deleted, as well as almost half the files.
I think I don't need to tell you h...
Eregon (Benoit Daloze)

08/16/2012

10:42 PM Feature #6875: Make test/unit default gem
あぁ、すみません、説明が足りませんでした。。。
Ruby本体のテストにtest-unit gemを使いたいという話ではなく、Rubyをインストールしたユーザーがgem install test-unitとすればrequire "test/unit"でtest-unit gemが使えるようになってほしいということです。
kou (Kouhei Sutou)
09:08 PM Feature #6875: Make test/unit default gem
それでtest-allがきちんと完走するならわたしは異論無いんですが、どうなんでしょう。
test-all用に別名を与えたほうがいいのかしらん。
naruse (Yui NARUSE)
08:41 PM Feature #4347 (Closed): Tracing cannot be re-enabled after callcc [patch]
This issue was solved with changeset r36715.
James, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_trace.c, vm_core.h: simplify tracing mechanism.
(1) add r...
ko1 (Koichi Sasada)
11:34 AM Feature #4347 (Assigned): Tracing cannot be re-enabled after callcc [patch]
I reopen this ticket. As you say, this is only workaround.
I solve this problem with restoring 'tracing state' (running trace func or not) at Continuation#call. I believe it is not a work around, but essential solution. I revert yo...
ko1 (Koichi Sasada)
07:15 PM Bug #6863 (Closed): Class#initialize infinite loops when passed self
This issue was solved with changeset r36714.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
object.c: forbid uninitialized class
* object.c (rb_class_ini...
nobu (Nobuyoshi Nakada)
04:54 PM Bug #6882 (Closed): parallel test crashes when unknown exception is occured in a test
test-allを-j付きで実行していると、例えばrdocあたりがバグっていて
RDoc::Errorあたりでテストに失敗した場合、masterはRDoc::Errorという
例外を知らないわけですが、にもかかわらずMarshal.loadしようとするので
master自体がクラッシュしてしまいます。
worker側からは、masterが知ってる例外が何かを知る方法はおそらくないので、
全てのエラー時の例外を適当にラップして渡すか、そもそも例外をMasha...
usa (Usaku NAKAMURA)
04:40 PM Bug #6872: Array does not specify how it determines uniqueness of values
drbrain (Eric Hodel) wrote:
> Thank you, this patch looks good.
> ...
I'm sorry but how are you going to merge this ? Do you want me to open a pull request on github ?
robin850 (Robin Dupret)
02:54 AM Bug #6872: Array does not specify how it determines uniqueness of values
Thank you, this patch looks good.
I imagine it's rb_ary_eql instead of rb_ary_eql_p due to history.
drbrain (Eric Hodel)
03:31 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
では、1バイト減るということで、10進にしておきます。 xibbar (Takeyuki FUJIOKA)
11:52 AM Bug #6881 (Closed): 2 Failures in test/-ext-/test_printf.rb
This issue was solved with changeset r36712.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_printf.rb: need to be infected
* test/-ext-/test_printf.rb...
nobu (Nobuyoshi Nakada)
11:16 AM Bug #6881 (Closed): 2 Failures in test/-ext-/test_printf.rb
r36707 で導入された2つのテストが、全プラットフォームでずっとFailureのままです。
後で直すつもりで忘れて放置してるのか、そもそもテストしないで入れたのか、どっちでしょうか?
usa (Usaku NAKAMURA)
11:41 AM Revision 4a4a702e (git): * vm_trace.c, vm_core.h: simplify tracing mechanism.
(1) add rb_hook_list_t data structure which includes
hooks, events (flag) and `need_clean' flag.
If the last flag is true, then clean the hooks list.
In other words, deleted hooks are contained by `hooks'.
Cleanup process should ...
ko1 (Koichi Sasada)
10:15 AM Revision 95283581 (git): object.c: forbid uninitialized class
* object.c (rb_class_initialize): forbid inheriting uninitialized
class. another class tree not based on BasicObject cannot exist.
[ruby-core:47148][Bug #6863]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36714 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
07:57 AM Feature #6852: [].transpose should behave specially
I see, so as long as the exact behavior is provided by the matrix library, the [].transpose can afford to be pragmatic. Anonymous
05:37 AM Bug #6880 (Closed): csv: nodoc native classes Object, String and Array
I've added a patch to remove Object, String and Array from the csv documentation zzak (zzak _)
05:33 AM Revision a39b94d3 (git): common.mk: -ext- tests
* common.mk (test-ruby): include -ext- tests, which check for core
API and behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:01 AM Feature #6828: Constancy of Constants
=begin
I rely on this feature of constant lookup.
It allows me to define (({File})) and other top-level constants in my library's namespace, but still use the top-level (({File})) without littering (({::})) everywhere in my library. ...
drbrain (Eric Hodel)
02:52 AM Revision f230b1ec (git): test_printf.rb: need to be infected
* test/-ext-/test_printf.rb (Test_SPrintf#test_{taint,untrust}): use
plain object so that the results of to_s and inspect are infected.
[ruby-dev:46053] [Bug #6881]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36712 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
02:35 AM Feature #6868 (Rejected): Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
Do not be sorry!
Adding syntax to a language is very difficult and touches all of the language. It Is great that you tried!
drbrain (Eric Hodel)
12:46 AM Revision 5225cc16 (git): * 2012-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:46 AM Revision 31bea5d4 (git): unecessary macros and K&R style coding
* strftime.c: remove unnecessary macros to check traditional C.
https://github.com/ruby/ruby/pull/46 by lateau (Daehyub Kim).
* vsnprintf.c: remove K&R.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36710 b2dd03c8-39d4-4d8f-98ff-...
nobu (Nobuyoshi Nakada)

08/15/2012

11:51 PM Feature #6828: Constancy of Constants
@alexeymuranov Yes, #6810 that's the one. Probably why I did not find it --it listed as a Bug. I would agree, actually. trans (Thomas Sawyer)
11:49 PM Feature #6828: Constancy of Constants
=begin
It's not that. It's the constant lookup:
module Foo
X = 1
module Bar
p X #=> 1
end
end
module Foo::Bar
p X #=> NameError
end
Personally I would prefer undefined namespaces be automatically instan...
trans (Thomas Sawyer)
09:00 PM Feature #6828: Constancy of Constants
=begin
I think it might be implemented but i'd rather not do that.
The reason why its not equivalent is because the first statement means:
((|Define module Baz under Foo::Bar|))
The second one means:
((|Define module Foo, define module B...
MasterLambaster (Alex N)
09:30 PM Feature #6670: str.chars.last should be possible
=begin
Hello,
I wrote a patch for String#lines, #chars, #bytes and #codepoints.
* https://github.com/ruby/ruby/pull/158.diff
Seemingly the following methods also need to be fixed (right?)
* IO#lines, chars, bytes, codepoints...
yhara (Yutaka HARA)
09:07 PM Feature #6875 (Closed): Make test/unit default gem
test/unitをdefault gemにするパッチです。
http://bugs.ruby-lang.org/projects/ruby/wiki/StdlibGem に従ってバージョンは2.0.0.0にしています。
私はtest-unitというgemを作っています。test-unit gemがインストールされるとバンドルされているtest/unitよりも優先してtest-unit gemの方が使われると嬉しいのでこのパッチを書きました。
kou (Kouhei Sutou)
08:50 PM Bug #6866 (Closed): DRb tests hang on OS X
This issue was solved with changeset r36709.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Kernel#inspect: improve consistency and do not call #to_s.
* o...
Eregon (Benoit Daloze)
06:21 PM Bug #6866: DRb tests hang on OS X
h.shirosaki (Hiroshi Shirosaki) wrote:
> This seems related to r36699. It changed #inspect behavior.
> ...
Thank you. Indeed it solves the problem at me.
I saw Yui Naruse reverted r36699. I ran test-all but did not expect the reason f...
Eregon (Benoit Daloze)
11:30 AM Bug #6866: DRb tests hang on OS X
This seems related to r36699. It changed #inspect behavior.
DRbObject#to_s is redefined, but #inspect doesn't call #to_s after r36699.
Here is a patch.
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index 1cb8b1f..d0156...
h.shirosaki (Hiroshi Shirosaki)
06:03 PM Bug #6872: Array does not specify how it determines uniqueness of values
Hello,
I allow myself to make a patch containing documentation : https://github.com/robin850/ruby/compare/enhance_documentation
I have just a question : I was looking in the code in order to see if some methods use Object#hash when...
robin850 (Robin Dupret)
12:26 PM Bug #6872: Array does not specify how it determines uniqueness of values
These methods all use "Hash key equality", so #hash and #eql? control the behavior. drbrain (Eric Hodel)
11:10 AM Bug #6872 (Closed): Array does not specify how it determines uniqueness of values
=begin
The documentation of (({Array#uniq})) , and similar methods, does not specify how values are determined to be unique when a block is not given.
The Stack Overflow answer http://stackoverflow.com/a/8779948/38765 explains that (...
agrimm (Andrew Grimm)
04:33 PM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
Thanks for the explanation and for the last example with method call inside `def`, i did not think well enough. I see that keywords can be parsed because they are known to be keywords. I think this can be closed, sorry. alexeymuranov (Alexey Muranov)
10:11 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
=begin
It seems impossible to implement without fundamentally changing the feel of writing ruby.
Due to enumerators, currently your example results in a SyntaxError:
$ pbpaste | ruby20
-:7: syntax error, unexpected keyword_en...
drbrain (Eric Hodel)
08:43 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
The idea seems extremely bad to me.
pedz (Perry Smith)
06:02 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
You mean, what should `method(3)` output? This was not considered in my proposal, i think it should be the same. In fact, i understand that there are issues with making `def` a method, i was only proposing to make blocks look more like... alexeymuranov (Alexey Muranov)
05:24 AM Feature #6868 (Feedback): Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
=begin
What would this code do:
def method n
n = n.times
p n
n
end
Currently it prints (({#<Enumerator: 3:times>})) and returns an Enumerator. Would it instead raise SyntaxError for an unexpected end?
=end
drbrain (Eric Hodel)
02:06 AM Feature #6868: Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
I have just realized that parameters are parsed before looking up the method definition, so maybe this is not possible...
I was just thinking if it is possible to unify somehow all Ruby objects and classes. (No matter how hard `Class...
alexeymuranov (Alexey Muranov)
01:26 AM Feature #6868 (Rejected): Make `do` in block syntax optional when the block is the last argument of a method and is not an optional argument
=begin
I propose to make the use of "(({do}))" in block syntax optional if the block is the last argument of a method and if it is a required argument, at least if the block does not take parameters. (I think this would be in line with...
alexeymuranov (Alexey Muranov)
04:23 PM Feature #6869: Do not treat `_` parameter exceptionally
marcandre (Marc-Andre Lafortune) wrote:
> Hi,
> ...
I do not like exceptions. When i was first learning Ruby, i thought that the underscore is a letter like any other, but sometimes it behaves like any other, and sometimes not.
It ...
alexeymuranov (Alexey Muranov)
01:03 PM Feature #6869: Do not treat `_` parameter exceptionally
Hi,
alexeymuranov (Alexey Muranov) wrote:
> I propose to not treat the variable name "`_`" exceptionally.
Sorry for the naive question, but why? What are you trying to achieve? What real world problem do you want to fix?
> ...
...
marcandre (Marc-Andre Lafortune)
10:59 AM Feature #6869: Do not treat `_` parameter exceptionally
Seems to be part of variable shadowing checks. The check was added before r8857 (which was a refactor of the feature) and checking for '_' was removed in r14186.
Since it was committed by matz I think your chances at acceptance are low.
drbrain (Eric Hodel)
06:50 AM Feature #6869 (Assigned): Do not treat `_` parameter exceptionally
I started by commenting on #6693, but i have realized that this is a slightly different request.
I propose to not treat the variable name "`_`" exceptionally. Current behavior:
~~~ruby
{0=>1}.each_with_index { |_,_| p _ } # [0, ...
alexeymuranov (Alexey Muranov)
04:09 PM Feature #6852: [].transpose should behave specially
Ok, thanks, i've understood. alexeymuranov (Alexey Muranov)
01:21 PM Feature #6852 (Rejected): [].transpose should behave specially
HI,
alexeymuranov (Alexey Muranov) wrote:
> marcandre (Marc-Andre Lafortune) wrote:
> ...
The example using `each_with_index` will work even for empty arrays. The "equivalent" example with transpose currently works with empty arrays...
marcandre (Marc-Andre Lafortune)
04:09 PM Bug #6873 (Assigned): Failed to build ruby for NaCl i686 version
shyouhei (Shyouhei Urabe)
04:02 PM Bug #6873 (Closed): Failed to build ruby for NaCl i686 version
・My PC Spec:Mac OS X, Chrome 21, pepper_19
I tried to install pepper-ruby i686 version to directory of "/Users/user-name/Work/pepper-ruby".
And I put "make" command and "make package" command on there.
Then they succeeded, but mayb...
ikeay (Ayaka Ikezawa)
01:23 PM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
> (1) "is not a problem of platform but a hardcoded path on openssl."
> Yes, I think so, too.
>
> (2) "if you moved OpenSSL dlls to different directories and verified OpenSSL::Config::DEFAULT_CONFIG_FILE?"
> Of course, i...
kosaki (Motohiro KOSAKI)
11:50 AM Revision fd7dc23d (git): Kernel#inspect: improve consistency and do not call #to_s.
* object.c (rb_obj_inspect): Kernel#inspect: do not call #to_s. A class
can now benefit from the nice default #inspect even if it defines #to_s.
Also, there is no more unexpected change in #inspect result.
* NEWS: Add note about the ...
Eregon (Benoit Daloze)
09:08 AM Revision e272790d (git): * lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the
status line if the status is skipped and -q is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:26 AM Revision 665b06ec (git): sprintf.c: infect
* sprintf.c (ruby__sfvextra): the result should be infected by the
given strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:23 AM Revision bb545e21 (git): sprintf.c: coderange fix
* sprintf.c (ruby__sfvwrite): set buffer length and exclude
uninitialized garbage to get correct coderange.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:20 AM Revision e7878d20 (git): common.mk: ID_H_TARGET
* common.mk (ID_H_TARGET): make timestamp file of id.h so that the
header will not be remade repetitively.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:08 AM Feature #6693: Don't warn for unused variables starting with _
I am sorry, i think there is misunderstanding.
{1=>2}.each_with_index { |x,x| puts "Oho!" } # SyntaxError: (eval):2: duplicated argument name
is not a feature request, it is the current behavior. I proposed to remove this syntax err...
alexeymuranov (Alexey Muranov)
04:43 AM Revision 1b4a45cf (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:39 AM Revision 8eb93103 (git): * vm_trace.c: separate trace_func related functions from
thread.c.
* thread.c: ditto.
* common.mk: add vm_trace.o.
* inits.c: call Init_vm_trace().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
02:25 AM Bug #6867: super in a Mutex#synchronize block
Hi,
This issue seems happen after r36640.
nagachika (Tomoyuki Chikanaga)
01:09 AM Revision d2e9b545 (git): * 2012-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:09 AM Revision 780e7d09 (git): Revert r36699 and r36700. [Feature #6130]
Revert "Kernel#inspect: improve consistency and do not call #to_s."
Revert "update PP with recent Kernel#inspect change. Patch by Yusuke Endoh."
r36699 cause test-all failure on test/drb/test_drb.rb and
test/drb/test_drbssl.rb. Run test...
naruse (Yui NARUSE)

08/14/2012

09:53 PM Feature #5663: Combined map/select method
On Tue, Aug 14, 2012 at 1:25 PM, trans (Thomas Sawyer)
<transfire@gmail.com> wrote:
> Instead of thinking of it as a special type of #map, I suggest thinking about it as a special type of #select. The reason is that we could also use ...
Anonymous
08:25 PM Feature #5663: Combined map/select method
Instead of thinking of it as a special type of #map, I suggest thinking about it as a special type of #select. The reason is that we could also use the same type of behavior for #find. Which is why I suggest #select_yield and #find_yield... trans (Thomas Sawyer)
06:24 PM Feature #5663: Combined map/select method
+1 I also like filter_map
(My other favourite would be map_selected which I think is more expressive for non-lisp-brainwashed)
drKreso (Kresimir Bojcic)
09:39 PM Bug #6863: Class#initialize infinite loops when passed self
The problem with disabling Class.allocate is that we don't know if anyone is using it out in the wild. Detecting circular inheritance and throwing might be more ideal since it has a smaller breakage potential. Anonymous
10:19 AM Bug #6863: Class#initialize infinite loops when passed self
charliesome (Charlie Somerville) wrote:
> x = Class.allocate
Why on earth is this allowed? I have no idea how useful an non-initiaized class is.
So instead of checking circular inheritance, I would propose to simply disable C...
shyouhei (Shyouhei Urabe)
08:44 PM Bug #6867 (Closed): super in a Mutex#synchronize block
The following code:
require 'thread'
class Parent
def meth
end
end
class Child < Parent
def meth
Mutex.new.synchronize do
super
end
end
end
Child.new.meth
raises
bug_super.rb:13:in `block ...
Eregon (Benoit Daloze)
08:31 PM Feature #6693: Don't warn for unused variables starting with _
alexeymuranov (Alexey Muranov) wrote:
> It this really necessary to treat the variable name `_` exceptionally at the interpreter's level? Why not to use the same rule for all variables, and for unused variables introduce a special plac...
drbrain (Eric Hodel)
06:05 AM Feature #6693: Don't warn for unused variables starting with _
drbrain (Eric Hodel) wrote:
> Why should we break compatibility with ruby 1.9?
> ...
I am sorry, was this about my proposal? I was not suggesting to raise an error, i just suggested that `_` be treated as any other variable, for exampl...
alexeymuranov (Alexey Muranov)
03:47 AM Feature #6693: Don't warn for unused variables starting with _
Why should we break compatibility with ruby 1.9?
RDoc uses double assignment to avoid the unused variable warning for use by ERb via a binding. The syntax error would break RDoc, so I dislike it.
drbrain (Eric Hodel)
08:15 PM Feature #6130: inspect using to_s is pain
Hi,
mame (Yusuke Endoh) wrote:
> I suggested giving Benoit a commit bit at the developer meeting (7/21),
> ...
I just committed as r36699 and I committed your PP patch as r36700.
Thank you for proposing it!
Eregon (Benoit Daloze)
07:20 PM Feature #6130 (Closed): inspect using to_s is pain
This issue was solved with changeset r36699.
Thomas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Kernel#inspect: improve consistency and do not call #to_s.
A c...
Eregon (Benoit Daloze)
08:03 PM Bug #6866 (Closed): DRb tests hang on OS X
This seems due to r36456.
The two loops added just keep running. Commenting them seems to solve the problem.
`@there.inspect` is #<DRb::DRbObject:0x00000101059838 @uri="druby://me-myself:52746", @ref=nil>
I recently installed TunTap...
Eregon (Benoit Daloze)
05:12 PM Bug #6851: Result of File.stat("c:/...") is different from 1.9.3
> Is this a bug or feature?
It's a bug, but...
Does anyone challenge to fix this? :)
usa (Usaku NAKAMURA)
04:53 PM Bug #6851: Result of File.stat("c:/...") is different from 1.9.3
Hi,

2012/8/14 usa (Usaku NAKAMURA) <usa@garbagecollect.jp>
>
>
> Issue #6851 has been updated by usa (Usaku NAKAMURA).
>
>
> Hopefully, fixed.
>
> I added some test cases.
> Please point out, if I have an oversigh...
phasis68 (Heesob Park)
04:07 PM Bug #6851: Result of File.stat("c:/...") is different from 1.9.3
Hopefully, fixed.
I added some test cases.
Please point out, if I have an oversight.
usa (Usaku NAKAMURA)
04:05 PM Bug #6851 (Closed): Result of File.stat("c:/...") is different from 1.9.3
This issue was solved with changeset r36696.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c (check_valid_dir): reject "..." as directory na...
usa (Usaku NAKAMURA)
10:10 AM Bug #6851 (Assigned): Result of File.stat("c:/...") is different from 1.9.3
Oops...
[Bug #5819] said that File.stat for empty root directory fails.
Of course it was a bug.
"C:/..." problem is an unexpected side effect.
usa (Usaku NAKAMURA)
03:13 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
shugo (Shugo Maeda) wrote:
> naruse (Yui NARUSE) wrote:
> ...
だと思います。
naruse (Yui NARUSE)
01:35 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。
naruse (Yui NARUSE) wrote:
> 同感です。&#39; の方がいいかな、1バイト短いし。
https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet#RULE_.231_-_HTML_Escape_Before_Inserting_Untrusted_Data_into_HTML_Element_Content
...
shugo (Shugo Maeda)
01:17 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
shugo (Shugo Maeda) wrote:
> xibbar (Takeyuki Fujioka) wrote:
> ...
同感です。&#39; の方がいいかな、1バイト短いし。
naruse (Yui NARUSE)
01:01 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
前田です。
xibbar (Takeyuki Fujioka) wrote:
> > cgi/htmlがHTML 3.2とHTML 4.01にしか対応していない現状では、むしろHTML4以前の
> ...
HTML5であればXHTMLでない時も&apos;が使えるようですが、数値文字参照(&#x27;)であればHTML4以前でも
XHTML/HTML5でも使えるので、数値文字参照にすべきだと思います。
Ruby 2.0では1.9との互換性を基本的に維持する...
shugo (Shugo Maeda)
12:50 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
> cgi/htmlがHTML 3.2とHTML 4.01にしか対応していない現状では、むしろHTML4以前の
> ...
cgi/html は近いうちに HTML5 を入れる予定です。
そうなったときはescapeHTMLはどうしたら理想的だと思いますか?
xibbar (Takeyuki FUJIOKA)
10:12 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
spastorino (Santiago Pastorino) wrote:
> Shugo I've already sent an issue for the &apos; thing.
> ...
I have known the issue. Thank you.

> and here https://github.com/ruby/ruby/pull/154 you have a pull request.
Thank you. I be...
shugo (Shugo Maeda)
10:10 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
Aaron Patterson wrote:
> > I and SEKI have discussed it, and have agreed to use cgi/util.
> ...
I admit that the name CGI is wrong. However, despite its name, CGI provides various features for Web applications. For example, cgi/html...
shugo (Shugo Maeda)
09:59 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
匿名ユーザ wrote:
> escapeHTMLとはなんなのか?という問題に行き着くかと思います。
> ...
cgi/htmlがHTML 3.2とHTML 4.01にしか対応していない現状では、むしろHTML4以前の
規格に合わせるべきではないでしょうか。
また、互換性の確保が難しくないのであれば(今回の件は難しくないと考えています)、
CGI.escapeHTMLのような基本的な機能はなるべく広く利用できた方がよいのではないか
と思います。
>...
shugo (Shugo Maeda)
01:04 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
Shugo I've already sent an issue for the &apos; thing.
https://bugs.ruby-lang.org/issues/6850
and here https://github.com/ruby/ruby/pull/154 you have a pull request.
Thanks.
spastorino (Santiago Pastorino)
12:23 AM Bug #6861: ERB::Util.escape_html is not escaping single quotes
On Mon, Aug 13, 2012 at 01:11:45PM +0900, shugo (Shugo Maeda) wrote:
>
> Issue #6861 has been updated by shugo (Shugo Maeda).
>
> Assignee set to shugo (Shugo Maeda)
>
> Hello,
>
> Thanks for your report.
>
> spastorino (...
Anonymous
12:03 PM Bug #6850 (Closed): It's not recommended to escape ' to &apos;
This issue was solved with changeset r36692.
Santiago, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Tue Aug 14 11:55:37 2012 Takeyuki FUJIOKA <xibbar@ruby-lang...
xibbar (Takeyuki FUJIOKA)
01:15 AM Bug #6850: It's not recommended to escape ' to &apos;
I've just updated the pull request to take in consideration https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/36687 spastorino (Santiago Pastorino)
10:36 AM Bug #6830 (Assigned): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
(1) "is not a problem of platform but a hardcoded path on openssl."
Yes, I think so, too.
(2) "if you moved OpenSSL dlls to different directories and verified OpenSSL::Config::DEFAULT_CONFIG_FILE?"
Of course, it fails.
...
usa (Usaku NAKAMURA)
10:21 AM Revision e1aa72d4 (git): update PP with recent Kernel#inspect change. Patch by Yusuke Endoh.
* lib/pp.rb (class PP): do not call #to_s anymore, as #inspect no more does.
* test/test_pp.rb (class PPInspectTest): remove related assertion.
[ruby-core:43238][Feature #6130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36700 b...
Eregon (Benoit Daloze)
10:20 AM Revision 795c29dc (git): Kernel#inspect: improve consistency and do not call #to_s.
A class can now benefit from the nice default #inspect even if it
defines #to_s. Also, there is no more unexpected change in #inspect
result. Internal structures have been adapted so they don't rely
on the removed behavior (#inspect call...
Eregon (Benoit Daloze)
09:49 AM Bug #5485 (Closed): ERB html_escape should follow OWASP recommendations
fixed in r36687. shugo (Shugo Maeda)
07:28 AM Revision f42a7c09 (git): * test/erb/test_erb.rb (test_html_escape): add assertions for the
cases where the argument is not a String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
07:28 AM Revision a2884195 (git): * ChangeLog: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
07:05 AM Revision cb4e2b59 (git): * win32/win32.c (check_valid_dir): reject "..." as directory name.
[Bug #6851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:03 AM Revision 104b5c78 (git): * test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_dotted_prefix): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:53 AM Bug #6849: Psych.load_file throws TypeError for empty file
On Tue, Aug 14, 2012 at 03:12:58AM +0900, Zachary Scott wrote:
> On ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
>
> I can reproduce this using Psych.load_file.
>
> However, when I try Psych#load as the implementatio...
Anonymous
03:23 AM Bug #6849: Psych.load_file throws TypeError for empty file
On ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

I can reproduce this using Psych.load_file.

However, when I try Psych#load as the implementation suggests[1]
leaving out the utf stuff "bom|utf-8"; it returns fals...
zzak (zzak _)
06:52 AM Revision b3a4461d (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:39 AM Revision 9933a601 (git): * test/ruby/test_file_exhaustive.rb
(TestFileExhaustive#test_stat_drive_root): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:02 AM Bug #6865 (Closed): GC::Profiler.report might create a huge String and invoke a few GC cycles
Hi,
In my use-case, GC::Profiler.report adds a few GC cycles to actually create the report, ending with these lines:
9317 26.279 185760 701760 17544 0.333000000001248...
Eregon (Benoit Daloze)
05:49 AM Bug #6531: Increase Racc runtime versions
Looks like this was fixed by Aaron on github[1], please close this ticket
1: https://github.com/tenderlove/racc/commit/8ab708bb0cf1196e4fc2cfe8f33ea78dc87cd8c2
zzak (zzak _)
05:01 AM Bug #6864: bad value for range when using infinity with date or time
And sometimes range behavior cant be understood - Range.new(Date.new(0), BigDecimal.new(9)) slbug (Alex Grebennik)
04:24 AM Bug #6864 (Closed): bad value for range when using infinity with date or time
Steps to reproduce:
require 'date'
Range.new(Date.today, 1.0/0.0) # works
Range.new(-1.0/0.0, Date.today) # fails
Range.new(Time.now, 1.0/0.0) # fails
Range.new(-1.0/0.0, Time.now) # fails
Tested on 1.9.3 and trunk. I thin...
slbug (Alex Grebennik)
03:48 AM Feature #6852: [].transpose should behave specially
marcandre (Marc-Andre Lafortune) wrote:
>
> ...
I didn't understand this sentence.
Anyway, i just want to give another explanation why it is possible to assume that there is only one empty matrix. With this assumption the function of ...
alexeymuranov (Alexey Muranov)
03:23 AM Feature #6852: [].transpose should behave specially
On Mon, Aug 13, 2012 at 3:15 PM, marcandre (Marc-Andre Lafortune)
<ruby-core@marc-andre.ca> wrote:
>> It would be interesting to see code that found returning [] to be
>> useful. As in, code that expected to operate on the trans...
Anonymous
03:03 AM Revision 745ada86 (git): Tue Aug 14 11:55:37 2012 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/util.rb (CGI::escapeHTML): &apos; is not recommended. [Bug #6850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
02:58 AM Feature #6857: bigdecimal/math BigMath.E/BigMath.exp R. P. Feynman inspired optimization
Having fast exp() allows us to speed up BigMath.log(). Especially for calculations with large precision.
The area hyperbolic tangent power series performs better when the domain (x) of the function is closer to 1.
Additionally for x ...
royaltm (Rafał Michalski)
02:01 AM Revision 7fc28975 (git): * 2012-08-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:01 AM Revision e9969414 (git): * lib/erb.rb (ERB::Util.html_escape): fix r36687: call to_s before
passing it to CGI.escapeHTML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
 

Also available in: Atom