Activity
From 12/27/2012 to 01/02/2013
01/02/2013
-
09:47 PM Bug #7643: call to super in define_method in refine results in stack level too deep
- Ok, also working for me here with r38676. Should have checked the new versions before, sorry. Have a nice day!
-
10:29 AM Bug #7643 (Feedback): call to super in define_method in refine results in stack level too deep
- Hi,
beatrichartz (Beat Richartz) wrote:
> When define_method is used within the refine block argument, calls to super will result in a stack level too deep. Definitions with def can call super without problems.
r38126 is too old. ... -
06:43 PM Bug #7645: BigDecimal#== slow when compared to true/false
- Thank you for pitching in with more explanation and a patch so quickly! Much appreciated. :)
-
05:23 AM Bug #7645: BigDecimal#== slow when compared to true/false
- Hello,
This is a nice bug report!
So, BigDecimalCmp() calls rb_num_coerce_cmp() then do_coerce(), which tries to call #coerce on `true`, which generates a NoMethodError, which is rescued by rb_rescue() in do_coerce().
The coerce... -
04:45 AM Bug #7645: BigDecimal#== slow when compared to true/false
- I've added some notes on the ticket on the Rails tracker - short story shorter, this particular case happens (AFAIK) because rb_num_coerce_cmp ends up looking for a coerce method on TrueClass.
Further insight from somebody who actuall... -
12:49 AM Bug #7645 (Closed): BigDecimal#== slow when compared to true/false
- I was doing a spot of profiling on a Ruby on Rails application with perftools.rb and spotted that one particular chunk of code was spending a lot (nearly 60% in some tests) of its time in `BigDecimal#==`. It turns out that, when writing ...
01/01/2013
-
11:03 PM Feature #7644 (Assigned): In refinements, change "using" keyword to a less generic word. - The upcoming feature of refinements is bringing two new keyords: "refine Something" and "using Something". While I am definitely late to come up with this, I realized that due to natural linguistic reasons, keyword "using" should be repl...
-
09:06 PM Revision 73bd4c3f (git): typo in r38675 ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:10 PM Revision 762aa293 (git): * ext/zlib/zlib.c (Zlib::GzipFile): Fix typo by zed_0xff
- [Fixes Github #229]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:28 PM Revision 663613a9 (git): * hash.c (rb_hash_update): Revert documentation from r38672
- See: https://github.com/ruby/ruby/pull/228#issuecomment-11791013
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:17 PM Revision 98b1b387 (git): * 2013-01-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:17 PM Revision 1290747c (git): * hash.c (rb_hash_update): Documentation for Hash#merge and shallow
- copies Patch by Yorick Peterse [Fixes Github #228]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 PM Revision 10c8aa81 (git): * bootstraptest/test_thread.rb: get rid of confusing ruby-mode.el
- indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 PM Revision 4136f8ce (git): * bootstraptest/test_thread.rb: get rid of "invalid nest" error in
- ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 PM Revision 5c7027d2 (git): test_tmpdir.rb: remove tmpdir
- * test/test_tmpdir.rb (TestTmpdir#test_no_homedir): remove created
tmpdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:31 AM Bug #7619 (Closed): 遅延評価された無限長の Range に map を適用して force しようとすると SEGV
- 09:24 AM Revision 56554d12 (git): * 2013-01-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:24 AM Revision 78ac68e8 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:33 AM Feature #7549: A Ruby Design Process
- I've written another post addressing many of the misunderstandings about my proposal expressed in this thread:
http://brixen.io/2012/12/30/a-ruby-design-process-talking-points
We are starting work on the Consensus application here:... -
02:49 AM Bug #7643 (Rejected): call to super in define_method in refine results in stack level too deep
- =begin
When (({define_method})) is used within the refine block argument, calls to super will result in a stack level too deep. Definitions with def can call super without problems.
module A
refine Fixnum do
%i(+ -).eac... -
02:08 AM Bug #7642 (Rejected): IRB indentation is gone
- This is indentation of irb in 1.9.3-p362:
http://screencloud.net/v/srk8
It is ok, but no out-dent on 'end'. This could be fixed.
Now compare with irb in trunk:
http://screencloud.net/v/5uVd
Indentation is completely missing.
12/31/2012
-
03:22 PM Bug #7619: 遅延評価された無限長の Range に map を適用して force しようとすると SEGV
- ruby 2.0.0dev (2012-12-31 trunk 38665) [x86_64-darwin12.2.0] で試してみたところ,再現しませんでした.お騒がせしました.
一応,2.0.0-preview2 でバグ再現時のクラッシュレポートも添付いたします. -
12:40 PM Bug #7619 (Feedback): 遅延評価された無限長の Range に map を適用して force しようとすると SEGV
- 手元では再現できませんでした。できれば最新バージョンで試してみてください。
また、~/Library/Logs/DiagnosticReportsにcrash reportファイルができているはずなので、それも添付してください。 -
02:01 PM Bug #7371: Fix undefined overflow checking in bigdecimal
- To see how it works, try to compile the following (simplified) code with gcc 4.8. The entire function will be optimized away with "gcc -O2" (just grep "bar" in the resulting assembly code); gcc 4.7 or earlier doesn't do that.
#define... -
01:04 PM Feature #7434 (Assigned): Allow caller_locations and backtrace_locations to receive negative params
- I have committed a test for range argument in r38664, please check it.
-
10:46 AM Bug #5759: flatten calls to_ary on everything
- > class Baz; def respond_to?(s, x) super unless s == :to_ary end end
=> nil
> ...
=> [#<Baz:0x007f8d3115c7d0>] -
05:15 AM Bug #5759: flatten calls to_ary on everything
- =begin
Isn't the the problem that it doesn't bother to check (({#respond_to?})) at all?
class Baz
def method_missing(s)
s
end
def respond_to_missing?(s, x)
return false if s == :to_ary
true
... -
06:09 AM Revision 7e62b6cc (git): * vm_backtrace.c: Add documentation for Kernel#caller_locations,
- Kernel#caller, and Thread::Backtrace::Location
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:03 AM Revision 534d99ec (git): * 2012-12-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:03 AM Revision e4be7f97 (git): * test/ruby/test_backtrace.rb: Add test for r37957 [Feature #7434]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:29 AM Feature #7639 (Closed): More freedom for location of comments
- When we chain methods with the period at the end of each line, we can put comments in between the lines:
```ruby
[1, 2, 3].
# First, we do blah blah
method1.
# Second, we do blah blah
method2.
=begin
Third, the following line... -
12:57 AM Bug #7638 (Assigned): trunk で rails の activesupport のテストが失敗してしまう
- 柴田さん、いつもご報告ありがとうございます。
わたしの理解では r38175 は `rb_obj_respond_to()` と `rb_funcall2()` で「`respond_to?(mid, true)` でメソッドが呼べるかチェックしてから呼ぶ」という処理を `rb_check_funcall()` という1つの関数でまとめるようにしたというものだと思います。以下のようにすると確かに `marshal_dump` や `_dump` が呼ばれてその結果...
12/30/2012
-
11:33 PM Bug #7610 (Closed): Incompatible with percent literal regexp between 1.9.3 and 2.0.0
- This issue was solved with changeset r38663.
Kenichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: escaped closing parenthsis
* parse.y (simple_re_meta... -
11:03 PM Bug #4490 (Rejected): struct timespec declared without defining HAVE_STRUCT_TIMESPEC, clashes with pthreads.
- mingw is not a pthread platform.
-
10:57 PM Bug #7531 (Closed): Issues in installing ruby 1.9.3 on AIX 7.1
-
10:45 PM Bug #5759 (Rejected): flatten calls to_ary on everything
- When you define method_missing, you have to also define respond_to_missing? properly.
-
03:00 PM Bug #7638 (Closed): trunk で rails の activesupport のテストが失敗してしまう
- Ruby のバグとは言い切れませんが、ある時期から activesupport のテストが落ちるようになってしまいました。
Ruby と Rails のどちらを直すべきか判断できないので、何か教えて頂けると助かります。
落ちてしまうテストは
https://github.com/rails/rails/blob/master/activesupport/test/core_ext/marshal_test.rb
です。テストの実行方法は以下の通り... -
02:33 PM Revision 77df5bb1 (git): parse.y: escaped closing parenthsis
- * parse.y (simple_re_meta): escaped closing parenthsis has different
meaning. [Bug #7610] [ruby-core:51088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision a6c637f0 (git): vm_method.c: idRespond_to_missing
- * vm_method.c (respond_to_missing): use idRespond_to_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 PM Revision afa4770a (git): Makefile.in: ignore CDPATH
- * Makefile.in (CDPATH): ignore and force to chdir from cwd.
http://stackoverflow.com/questions/12885548/unable-to-build-ruby-1-9-3-on-lion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:06 AM Bug #7630 (Closed): Proc/block doesn't take keyword arguments
- This issue was solved with changeset r38657.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c: set keyword hash on Proc/block calls.
[rub... - 03:11 AM Revision c56eee05 (git): * configure.in: use 4 argument form of AC_CHECK_HEADERS to force
- autoconf to use compiler's result
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 AM Bug #7636: Problems in the documnt of psych
- I'll have to check this upstream, psych is maintained on github (https://github.com/tenderlove/psych), but documentation patches here are fine.
- 02:06 AM Revision 64e36b0e (git): * 2012-12-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:06 AM Revision 2a4e4d86 (git): * test/ruby/test_keyword.rb: add a test for passing hash
- as a last argument. [ruby-dev:46712] [Bug #7529]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:06 AM Revision 371c07f2 (git): * vm_insnhelper.c: set keyword hash on Proc/block calls.
- [ruby-core:51172] [Bug #7630]
* test/ruby/test_keyword.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/29/2012
-
11:38 PM Bug #7636 (Closed): Problems in the documnt of psych
- I found some mistakes in the comment of psych library.
The following is the comment of Psych.load:
# Example:
#
# Psych.load("--- a") # => 'a'
# Psych.load("---\n - a\n - b") # => ['a', 'b']
#
# b... -
10:52 PM Bug #7635 (Closed): debug_inspector API segfaults when opened from inside an eval frame - =begin
(({rb_debug_inspector_open})) segfaults when it is called from inside an eval frame.
Using this C extension:
#include "ruby/ruby.h"
static VALUE
cb()
{
return Qnil;
}
static VALUE
debug_... -
10:23 PM Bug #7632: IRB autocompletion bug
- けいじゅ@いしつかです.
In [ruby-dev:46814] the message: "[ruby-dev:46814] Re: backport93から
の移動 [Re: [ruby-core:51175] [Backport93 - Backport #7632] IRB
autocompletion bug]", on Dec/29 21:51(JST) "Shota Fukumori (sora_h)"
writes:
>... -
09:59 PM Bug #7632 (Closed): IRB autocompletion bug
- This issue was solved with changeset r38656.
Bogdan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/irb/completion.rb: treat rightly comletion for symbol on ... -
09:56 PM Bug #7632 (Assigned): IRB autocompletion bug
-
09:41 PM Bug #7632: IRB autocompletion bug
- [ruby-dev:46813] を見て移動します。
-
04:12 AM Bug #7632: IRB autocompletion bug
- I was able to reproduce it with a previous patch level version of 1.9.3 as well as p362
https://gist.github.com/4400982 -
03:35 AM Bug #7632: IRB autocompletion bug
- Can you reproduce without wirble?
-
10:14 PM Bug #7623: Messages while RDoc generation
- Thank you for looking at my report.
My point is on the messages:
lib/mkmf.rb:1117:29: Couldn't find STRING_OR_FAILED_FORMAT. Assuming it's a module
lib/irb/inspector.rb:36:36: Couldn't find INSPECTORS. Assuming it's a module
Encl... -
05:07 AM Bug #7623 (Closed): Messages while RDoc generation
- duplicate of #7550
-
10:03 PM Bug #3351 (Open): stack overflow on super
-
10:01 PM Bug #2402: super in instance_eval
- まつもとさん、この件どうしましょうか?
個人的にはinstance_evalの中でsuperを呼ぶのはかなり特殊なケースだと思うので、
TypeErrorでよいように思いますが。
-
09:58 PM Bug #7630 (Assigned): Proc/block doesn't take keyword arguments
- It seems accessing out of the stack, so I think this bug is critical.
Please fix it with a test. -
01:35 PM Bug #7564: r38175 introduces incompatibility
- I still think this is a bug, as shown by needing a `respond_to?` that does nothing more than call super:
~~~ruby
class Sexp < Array
def inspect
"s(#{map(&:inspect).join ', '})"
end
def respond_to? meth
super
e... -
12:59 PM Revision b0767cf8 (git): * lib/irb/completion.rb: treat rightly comletion for symbol on irb
- [Bug #7632].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:54 PM Revision cdabc58f (git): * ext/curses/curses.c (window_cury, window_curx, window_maxy,
- window_maxx, window_begy, window_begx): use RB_UNUSED_VAR()
to suppress unused-but-set-variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:22 PM Revision be7bf5aa (git): adjust style
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 PM Revision e878df74 (git): use RB_TYPE_P
- * enumerator.c (enumerator_initialize), eval.c (rb_using_refinement),
(add_activated_refinement), numeric.c (num_interval_step_size),
parse.y (arg, match_op_gen, cond0), range.c (range_bsearch),
vm_insnhelper.c (vm_get_iclass): use... -
12:21 PM Revision eb56c108 (git): compile.c: no semicolon
- * compile.c (ADD_TRACE): putting a semicolon at the last of a macro
let do/while make no sense.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 AM Bug #4502: strange Module.new behaviour
- With latest version, A.X occurs NameError instead of returning B::X.
-
11:37 AM Bug #5283 (Closed): クラスオブジェクトの clone に関する質問
- This issue was solved with changeset r38648.
satoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
object.c: singleton class clone
* object.c (rb_obj_clone): at... -
07:44 AM Revision fd636ef9 (git): * iseq.c (RubyVM::InstructionSequence): rdoc formatting
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:29 AM Revision 1ddf1833 (git): * iseq.c (RubyVM::InstructionSequence): Add rdoc for new iseq features
- added from r38085, this includes ::of, #path, #absolute_path,
#label, #base_label, #first_lineno, and #inspect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:09 AM Revision 4706171d (git): * iseq.c (rb_iseq_line_trace_all, rb_iseq_line_trace_specify): Add
- rdoc for experimental C level api of iseq, from r38076
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 AM Revision ad6f06ae (git): object.c: singleton class clone
- * object.c (rb_obj_clone): attach clone to its singleton class during
cloning singleton class so that singleton_method_added will be called
on it. based on the patch by shiba (satoshi shiba)[Bug #5283] in
[ruby-dev:44477]. [Bug #... -
01:13 AM Revision 11803022 (git): * test/ruby/test_class.rb (test_cannot_reinitialize_class_with_initialize_copy),
- (test_invalid_superclass): get rid of confusing ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:10 AM Revision df158322 (git): * 2012-12-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision 2eb92b14 (git): configure.in: AC_CHECK_HEADERS
- * configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/28/2012
-
10:50 PM Bug #7632 (Closed): IRB autocompletion bug
- Steps to reproduce:
* Launch IRB
* type: (&:)
* press tab
Result: irb crashes
Ruby version: ruby-1.9.3-p194
/Users/bogdan/.rvm/gems/ruby-1.9.3-p194/gems/wirble-0.1.3/lib/wirble.rb:95:in `save_history': undefined method `size' f... -
09:49 PM Bug #7628 (Closed): IRB::Context#new: Check from JobManager inside IRB namespace
- This issue was solved with changeset r38643.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/irb/context.rb: IRB::Context#new: Check from JobManager
... -
09:07 AM Bug #7628 (Closed): IRB::Context#new: Check from JobManager inside IRB namespace
- Patch added from https://github.com/ruby/ruby/pull/226
-
09:38 PM Bug #3080 (Closed): class_variable_set issue with duped Module
-
08:47 PM Bug #7630 (Closed): Proc/block doesn't take keyword arguments
- =begin
$ ./ruby -e 'Proc.new{|k: 0|}.()'
-e:1:in `block in <main>': undefined method `key?' for 70368666077121:Fixnum (NoMethodError)
$ ./ruby -e '
def m
yield
end
m{|k: 0|}
'
-e:5:in `block in <main>': undefined m... -
05:53 PM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
- "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
> I add environment variable at r38479.
Thanks!
Btw, you put a giant "if false" around test/ruby/test_fiber.rb
with that commit. Was that intentional?
> I want to ... - 02:23 PM Revision af35f2a6 (git): * configure.in: check for the whether crt_externs.h is present when compiling
- for darwin (this header is missing in the iOS SDK)
* eval_intern.h: check HAVE_CRT_EXTERNS_H before including crt_externs.h, if
not defined, include missing/crt_externs.h instead
* hash.c: ditto
* missing/setproctitle.c: ditto
* missin... -
12:49 PM Revision 80b0c6ca (git): * lib/irb/context.rb: IRB::Context#new: Check from JobManager
- inside IRB namespace [Bug #7628]. Thanks rafaelfranca for bug
report and its patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:51 AM Bug #7621 (Closed): ブロック引数にデフォルト値を指定したときに配列を渡した際の挙動が1.9.3と変わっている
- This issue was solved with changeset r38639.
三村, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: no splat single opt arg
* vm_insnhelper.c (vm_yie... -
11:36 AM Bug #7613: An Alias for a class method inherited from the Class class is not equal to the original method
- shugo (Shugo Maeda) wrote:
> `open == new` returns `false` because their owners are different.
> ...
I forgot to explain why `Method#==` returns `false` if owners are different.
If owners of methods are different, the behavior of supe... -
11:26 AM Bug #7613: An Alias for a class method inherited from the Class class is not equal to the original method
- zhangsu (Su Zhang) wrote:
> ```ruby
> ...
`open == new` returns `false` because their owners are different.
```ruby
p [open.owner, new.owner] #=> [#<Class:Stream>, Class]
```
> > Two method objects are equal if they are bound t... -
11:23 AM Bug #7613 (Closed): An Alias for a class method inherited from the Class class is not equal to the original method
- This issue was solved with changeset r38638.
Su, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (method_eq): fix the documentation to refer to owner.
[r... - 08:10 AM Revision 7bc4cfe4 (git): ruby-electric.el (ruby-electric-curlies): Automatically indent "}".
- * misc/ruby-electric.el (ruby-electric-curlies): Automatically
indent closing curly brackets when
ruby-electric-newline-before-closing-bracket is true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38642 b2dd03c8-39d4-4d8f-98ff-... -
05:57 AM Bug #7626: Bizarre Array#fetch behavior with a block when index is out of bounds
- Oh! It's a block form of `default` - I get it now. Disregard!
-
05:53 AM Bug #7626: Bizarre Array#fetch behavior with a block when index is out of bounds
- Why would you need to call fetch with a block if you already know the index is out of range? You already have the index you're calling with...
-
04:33 AM Bug #7626 (Rejected): Bizarre Array#fetch behavior with a block when index is out of bounds
- `fetch(val){block}` either returns the requested value or yields to the block and return that result. The block is thus called only if the requested index is out of range and the argument is always the index.
-
03:46 AM Bug #7626 (Rejected): Bizarre Array#fetch behavior with a block when index is out of bounds
- This also occurs on Ruby 1.8.
First, the example, taken almost directly from the docs (except the docs only describe the fetch(4) case):
irb(main):001:0> a = [11, 22, 33, 44]
=> [11, 22, 33, 44]
irb(main):002:0> a.fetch(0) { |i| ... -
05:02 AM Bug #7627 (Closed): Instance variables of a Struct object are marshaled even when marshal_dump method is defined.
- =begin
If (({marshal_dump})) method is defined in a class and you pass an instance of that class into (({Marshal.dump})), instead of dumping instance variables (as it happens by default, when (({marshal_dump})) is not defined) Ruby dump... -
03:34 AM Revision 7c7a3c4d (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 AM Revision d00b1a76 (git): vm.c: suppress warning
- * vm.c (check_machine_stack_size): ifdef a variable which is unused on
non-pthread platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:50 AM Revision 0ea1e431 (git): vm_insnhelper.c: no splat single opt arg
- * vm_insnhelper.c (vm_yield_setup_block_args): pass single argument to
single optional parameter unchanged without splatting. [Bug #7621]
[ruby-dev:46801]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38639 b2dd03c8-39d4-4d8f-9... -
02:23 AM Revision d5a39c0a (git): * proc.c (method_eq): fix the documentation to refer to owner.
- [ruby-core:51105] [Bug #7613]
* test/ruby/test_method.rb (test_alias_onwer): new test to confirm
that `a == b' returns false if owners of a and b are different.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38638 b2dd03c8-39d4-4d... -
12:19 AM Revision bab92f0f (git): * ChangeLog: fix indent broen at r38633 and tabify.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/27/2012
-
11:48 PM Bug #6378 (Closed): irb incorrectly considers line incomplete when parenthesis are excluded
- This issue was solved with changeset r38632.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/irb/ruby-lex.rb: make lex_state to EXPR_END when next tok... -
10:08 PM Revision 8654730a (git): * def/id.def: use split(/^/) instead of String#lines to support
- Ruby 1.8.5 as BASERUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:53 PM Bug #7588 (Closed): New warnings on ||=
- seems fixed. thanks
-
09:35 PM Bug #5648 (Closed): irb does not handle recursive heredocs
- This issue was solved with changeset r38631.
Ondrej, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/irb/ruby-lex.rb: allow to handle recursive heredocs on
... -
09:21 PM Bug #7232 (Closed): StringIO#gets(nil, nil) raises TypeError, IO/File#gets do not - This issue was solved with changeset r38630.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/stringio/stringio.c (strio_getline): fix not to raise Type... -
08:43 PM Bug #7231 (Closed): StringIO inconsistently raises IOError or RuntimeError if the string is frozen - This issue was solved with changeset r38628.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/stringio/stringio.c (strio_ungetc): raise IOError instead ... -
07:20 PM Bug #7600 (Closed): Constant typo in IRB::SLex
- zzak (Zachary Scott) wrote:
> Committed r38545 please check it
I have checked it. Thank you for this commit. -
07:19 PM Bug #7599 (Closed): IRB::InputMethod#readable_atfer_eof? should be #readable_after_eof?
- zzak (Zachary Scott) wrote:
> Committed r38544 please check it
I have checked it. Thank you for this commit. -
05:09 PM Feature #7488: Receiving object_id in object creation probes
- We are entering code freeze phase.
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/50483 -
04:45 PM Revision 109d71ac (git): * variable.c (rb_mod_remove_const): fix segv caused by r38558.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:15 PM Revision 3e81553a (git): * 2012-12-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:15 PM Revision 93030d0e (git): * lib/csv.rb: Added more Hash methods to CSV::Row.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 PM Revision 7b34c2f8 (git): * lib/irb/ruby-lex.rb: make lex_state to EXPR_END when next token
- is an operator after SYMBEG [Bug #6378].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:05 PM Bug #7620 (Assigned): Incorrect exception for non-square matrix in Matrix::LUPDecomposition#det
-
12:35 PM Revision 8f4d0c45 (git): * lib/irb/ruby-lex.rb: allow to handle recursive heredocs on
- irb[Bug #5648].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:21 PM Revision 89182621 (git): * ext/stringio/stringio.c (strio_getline): fix not to raise TypeError
- when limit is nil.
[Bug #7232] [ruby-core:48531]
* test/stringio/test_stringio.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:09 PM Revision 22691e7f (git): * vm_core.h (VM_DEFINECLASS_TYPE): explicit cast to enum type to avoid 64->32
- shorten warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:43 AM Revision cd453f16 (git): * ext/stringio/stringio.c (strio_ungetc): raise IOError instead of RuntimeError
- if the string is frozen.
[Bug #7231] [ruby-core:48530]
* ext/stringio/stringio.c (strio_ungetbyte): ditto.
* test/stringio/test_stringio.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38628 b2dd03c8-39d4-4d8... -
04:53 AM Feature #5453: Add gemspecs to auto-mode-alist for ruby-mode
- Done in Emacs trunk.
-
12:15 AM Bug #7625 (Assigned): Arrayを継承したオブジェクトのcompactがArrayを返す
- 前田です。
mogya@mogya.com (Daisuke Furukawa) wrote:
> 現象:
> ...
この変更自体は、r30148で導入された意図的な変更だと思います。
* array.c (rb_ary_dup): should copy contents only. no instance
variable, no class would be copied. it would affect methods...