Activity
From 08/15/2012 to 08/21/2012
08/21/2012
-
10:30 PM Revision bbb6b5e8 (git): * lib/cgi/util.rb (CGI.escapeHTML): use '
- [ruby-core:47221] [Bug #6861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:30 PM Revision b0837c44 (git): Suppress warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:32 PM Bug #6884 (Closed): test_fileutils.rb might end up rm -rf the whole current directory
- This issue was solved with changeset r36756.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
make FileUtils tests safe when interrupting in setup
* test/fi... -
05:00 PM Bug #6901 (Closed): SEGV with tail call optimization
- r36099のfinishフレームをなくす変更以降で、添付のpromise.rbのようなコードで
末尾呼出の最適化を有効にするとSEGVが発生するようになっています。
単純な末尾再帰版factなどでは再現しませんでしたが、再現条件はよくわかっていません。
# 末尾再帰とブロック呼出しの組合せで発生するのかなと想像しています。
何か思い当たるフシはあるでしょうか? > ささださん
-
04:49 PM Revision 8de500ce (git): bignum.c: keep first zero
- * bignum.c (bigdivrem): keep first digit even if zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:40 PM Revision 3d23725a (git): bignum.c: suppress an empty-body warning
- * bignum.c (bigdivrem): move decrement to the loop body, to suppress
an empty-body warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:18 PM Revision 2ed9b46b (git): configure.in: noral blocks
- * configure.in: use noral blocks instead of dnl, so that matching
parentheses would match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:18 PM Revision e32dd8b3 (git): * 2012-08-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 PM Revision 5eb9453f (git): configure.in: escape #-marks
- * configure.in: escape #-marks, so that matching parentheses would
match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:18 PM Revision 404cc1ae (git): configure.in: no bare case statement
- * configure.in (RUBY_CHECK_SIZEOF): use single test instead of split
bare case statement, so that matching parentheses would match.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:23 PM Feature #6763: Introduce Flonum technique to speedup floating computation on th 64bit environment
- (2012/07/21 4:59), ko1 (Koichi Sasada) wrote:
> Feature #6763: Introduce Flonum technique to speedup floating computation on th 64bit environment
> https://bugs.ruby-lang.org/issues/6763
>
> Author: ko1 (Koichi Sasada)
> Stat... -
03:23 PM Feature #6895: TracePoint API
- (2012/08/20 16:10), ko1 (Koichi Sasada) wrote:
>
> Issue #6895 has been reported by ko1 (Koichi Sasada).
>
> ----------------------------------------
> Feature #6895: TracePoint API
> https://bugs.ruby-lang.org/issues/6895... -
01:59 PM Feature #6895: TracePoint API
- (2012/08/21 13:25), Rocky Bernstein wrote:
> Looks good so far.
Thanks!
> What I'd ask though is that for return events one be
> able to get the return value and for exception events one be able to get
> the exception me... -
01:29 PM Feature #6895: TracePoint API - Looks good so far. What I'd ask though is that for return events one be
able to get the return value and for exception events one be able to get
the exception message.
Thanks.
On Mon, Aug 20, 2012 at 10:03 PM, SASADA Koich... -
11:23 AM Feature #6895: TracePoint API
- (2012/08/21 6:11), trans (Thomas Sawyer) wrote:
> Can we use TracePoint.new to get instance that is not automatically active? eg.
>
> tracer = TracePoint.new{ |tp| ... }
> tracer.trace
>
> Is same as:
>
> tc = ... -
06:11 AM Feature #6895: TracePoint API
- =begin
Looks great. Really nice that there is performance gain too.
Can we use TracePoint.new to get instance that is not automatically active? eg.
tracer = TracePoint.new{ |tp| ... }
tracer.trace
Is same as:
tc = TracePoint.t... -
01:32 PM Revision b78fdf1a (git): addr2line.c: suppress warnings
- * addr2line.c (fill_lines): check file size overflow only if it is
necessary, and suppress a sign-compare warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:03 PM Revision 75e2a26b (git): * lib/observer.rb: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:10 PM Bug #6900 (Closed): execinfo ライブラリ(およびそのヘッダ)の探索に --with-opt-dir の指定が利かない
- 手元の FreeBSD の環境で execinfo ライブラリは ports で入っていて、
たとえば execinfo.h は /usr/local/include にあるのですが、
--with-opt-dir=/usr/local と指定していても、
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
... -
11:32 AM Revision d4c84d17 (git): make FileUtils tests safe when interrupting in setup
- * test/fileutils/test_fileutils.rb (TestFileUtils#teardown):
do not assume cwd is TMPROOT and never remove current directory.
[ruby-core:47224][Bug #6884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36756 b2dd03c8-39d4-4d8f-98... -
11:18 AM Bug #6897 (Assigned): With --no-retry option parallel test-all result
- format description
-
12:16 AM Bug #6897 (Closed): With --no-retry option parallel test-all result
- =begin
With --no-retry option, parallel test-all result looks strange as below.
I actually see a test error with ubuntu linux bundled openssl. I show this by another reproducible example.
For example:
Add a raise to emulate error... -
11:00 AM Bug #6882 (Closed): parallel test crashes when unknown exception is occured in a test
- 順序前後。もう入れました。
-
10:58 AM Bug #6882 (Assigned): parallel test crashes when unknown exception is occured in a test
- sorry for late reply, go ahead.
-
09:07 AM Bug #6882 (Closed): parallel test crashes when unknown exception is occured in a test
- This issue was solved with changeset r36746.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/testunit/tests_for_parallel/ptest_forth.rb: added a test ... -
10:50 AM Bug #6892: segfault of interpreter (possibly related to libxml-ruby)
- Can you reproduce the segfault without loading libxml-ruby?
- 08:32 AM Revision 9bae83f8 (git): * addr2line.c (fill_lines): need check and cast of the file size of
- target binary because there are some platforms which off_t > size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Revision 4259d235 (git): * .travis.yml (compiler): [experimental] clang support.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:53 AM Revision 3401fc59 (git): * ext/dl/lib/dl/func.rb (DL::Function#bind): fixes an error in
- test/dl/test_import.rb (DL::TestImport#test_carried_function)
introduced by r36718.
the instance of the anonymous class which wraps the block should have
same methods and instance variables of self.
git-svn-id: svn+ssh://ci.ruby-... - 05:29 AM Revision 68c09dec (git): * win32/Makefile.sub (scriptbin.mk): no need to include twice.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:00 AM Revision 3eb71e22 (git): common.mk: id.h
- * common.mk (ID_H_TARGET): timestamp file makes no senses now. object
files depending on id.h are always updated after parse.y is touched.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:50 AM Revision d059d718 (git): remove trainling spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:41 AM Bug #6867: super in a Mutex#synchronize block
- I'm hitting this bug in the Rails tests too. It does not need to be a synchronize block. Any method that yields will cause this error:
class A; def self.yielder; yield; end end
class X
def self.hello; 'hi'; end... - 01:57 AM Revision 9bb6a052 (git): * test/unit/test.rb (Test::Unit::ProxyError): new exception class to
- wrap exceptions raised in workers in parallel test mode.
* test/unit/parallel.rb (Test::Unit::Worker#puke): use above warpper
exception.
[Bug #6882] [ruby-dev:46054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36749 b2dd03c8... -
01:41 AM Revision dc78d90a (git): * test_continuation.rb (tracing_with_thread_set_trace_func):
- fix to use Thread#set_trace_func(nil), not set_trace_func(nil).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:39 AM Revision 17dde493 (git): Imported minitest 3.3.0 (r7676)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:07 AM Revision ba661182 (git): * test/testunit/tests_for_parallel/ptest_forth.rb: added a test case
- which causes an error.
* test/testunit/test_parallel.rb: follow above change.
see [Bug #6882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:05 AM Revision c50c1a00 (git): * ChangeLog: style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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
-
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... - 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... -
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... -
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
... -
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 - 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
-
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 -
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... -
05:06 PM Bug #6885 (Assigned): Unexpected behaviour of DateTime.parse (this issue can be reproduced in Ruby 1.8/1.9 as well) 英語で書いてるけど日本語も分かります。
-
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/ -
05:02 PM Bug #6889: Restore backwards compatibility of Net::HTTP
- OK, commit it!
-
04:54 PM Bug #6862 (Assigned): BigMath.exp negative exponent
-
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... -
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 -
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 -
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
-
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 ... -
11:21 AM Bug #6882 (Assigned): parallel test crashes when unknown exception is occured in a test
- これっぽっちも直ってないのでreopen
-
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 ... -
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... -
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... -
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 -
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
-
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
- 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
-
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
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
- 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
-
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
-
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... -
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... -
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... -
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
-
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.
-
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 -
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.... -
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... - 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
-
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...
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. -
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... -
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... -
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... -
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... -
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 -
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 -
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... -
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... -
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... -
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 -
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 -
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 -
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
- 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 -
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... - 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
-
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 -
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...
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が使えるようになってほしいということです。 -
09:08 PM Feature #6875: Make test/unit default gem
- それでtest-allがきちんと完走するならわたしは異論無いんですが、どうなんでしょう。
test-all用に別名を与えたほうがいいのかしらん。 -
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... -
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... -
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... -
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... -
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 ? -
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. -
03:31 PM Bug #6861: ERB::Util.escape_html is not escaping single quotes
- では、1バイト減るということで、10進にしておきます。
-
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... -
11:16 AM Bug #6881 (Closed): 2 Failures in test/-ext-/test_printf.rb
- r36707 で導入された2つのテストが、全プラットフォームでずっとFailureのままです。
後で直すつもりで忘れて放置してるのか、そもそもテストしないで入れたのか、どっちでしょうか? -
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 ... -
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... -
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.
-
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
-
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 -
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. ... -
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... -
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! - 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
-
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-...
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.
-
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... -
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... -
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... -
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の方が使われると嬉しいのでこのパッチを書きました。
-
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... -
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... -
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... -
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... -
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.
-
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 (... -
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.
-
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... -
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.
-
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...
-
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 -
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... -
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... -
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 ... -
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?
> ...
... -
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. -
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, ... -
04:09 PM Feature #6852: [].transpose should behave specially
- Ok, thanks, i've understood.
-
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... -
04:09 PM Bug #6873 (Assigned): Failed to build ruby for NaCl i686 version
-
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... -
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... -
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 ... - 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 -
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 -
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 -
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 -
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... -
04:43 AM Revision 1b4a45cf (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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 -
02:25 AM Bug #6867: super in a Mutex#synchronize block
- Hi,
This issue seems happen after r36640. - 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
-
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...