Activity
From 11/20/2012 to 11/26/2012
11/26/2012
-
11:25 PM Revision d187f4bc (git): * vm_trace.c: rename TracePoint#file and TracePoint#line
- to TracePoint#path and TracePoint#lineno respectively.
They are consistent to RubyVM::Backtrace::Location.
* include/ruby/debug.h: ditto.
* vm_core.h: ditto.
* test/ruby/test_settracefunc.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lan... -
11:08 PM Revision a9162789 (git): * thread.c (rb_thread_terminate_all): broadcast eTerminateSignal
- again when Ctrl-C was pressed. [Feature #1952] [ruby-dev:39107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:01 PM Revision 8c138db3 (git): * vm_core.h: add members to rb_trace_arg_t:
- * `klass_solved' represents klass and id is checked.
* `line' represents line calculated from cfp.
* `file' represents line calculated from cfp.
* vm_trace.c: fix to use above data stractures.
No need to calculate klass and id, line an... -
10:59 PM Bug #5368 (Assigned): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
- 現状、ささださんが #1にてCPU使用率が跳ね上がるのだけがバグで、終わらない、かつCtrl-Cも効かなくなるのは仕様という見解を出しているのでそれにそって、r37865でCPU使用率問題を直しました。
さて、このまま閉じてしまっていいのかまったく分からないので、まつもとさん意見をください。
元の起票バグだとensureで無限sleepというちょっとありえなさそうなスクリプトですが、IO.read などでも同様の「終了しない+Ctrl-C効かない」が起こります。... -
10:47 PM Bug #5368 (Closed): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
- This issue was solved with changeset r37865.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (rb_thread_terminate_all): use native_sleep() instea... -
10:40 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
- なお、#1952 ですでに指摘されているように Ctrl-c が押された時にサブスレッドを待たずに終了してしまうという案はSEGVを引き起こすのでNG。
-
12:27 PM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
- 読み返しました。[Feature #1952] とちょっと似た話で終了途中で例外食われてしまったら、という話のようですね。論点をまとめると
- ensure節の中でsleep等、無限待ちが記述されているとハングしてしまう。これはバグではないか (Glass_saga)
- この場合止まっているのはサブスレッドなので、Ctrl-cは意味が無い。メインスレッドが食って無視してしまう
- しかし、タイムアウト等をつくると終了処理に時間のかかるスクリプトが壊れて... -
09:26 AM Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しない
- ticket の詳細が思い出せないので小崎先生に振ってみます.
control_interrupt じゃ解決しないんだよな,多分. -
10:49 PM Revision 25393806 (git): * thread.c (rb_thread_terminate_all): add RUBY_VM_CHECK_INTS_BLOCKING().
- Otherwise the loop in this function behave as busy loop because
native_sleep() return immediately when RUBY_VM_INTERRUPTED() is true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:46 PM Bug #7439: Please revert r32841
- =begin
This is error I get when using 1.8 for cross-compilation:
./ext/extmk.rb:228:in `extmake': undefined method `prepend' for #<String:0x7fed568d8e20> (NoMethodError)
from ./ext/extmk.rb:504
from ./ext/extmk.rb:500:in `each'
... -
10:28 PM Bug #7439 (Assigned): Please revert r32841
- This was applied due a bunch of issues cross-compiling Ruby 1.9.x using Ruby 1.8.7 as baseline.
I'm not sure if this is still the case for BASERUBY being 1.8 and other changes that might not allow 1.8 to cross-compile 1.9.x
I'm ass... -
10:21 PM Bug #7439 (Closed): Please revert r32841
- I cannot find any reference why r32841 was committed and what is the real issue it solves, but since R1.8 cannot be used as a baseruby anymore (./ext/extmk.rb:228:in `extmake': undefined method `prepend' for #<String:0x7fed568d8e20> (NoM...
-
10:18 PM Bug #7364 (Rejected): CGI::Cookie.parse can't deal with cookie options
- I agree with mame-san.
In this case, I think CGI::Cookie::parse is out of role.
-
10:12 PM Bug #7380: benchmark/driver.rb: --executables separator
- ko1 (Koichi Sasada) wrote:
> I always use -e with quote strings. does it bother you?
> ...
Oh, right, I did not think to the name::path usage, it would be weird to have both : and ::.
I like the solution to pass multiple -e options... -
06:19 PM Bug #7380 (Closed): benchmark/driver.rb: --executables separator
- This issue was solved with changeset r37854.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* benchmark/driver.rb: accept multiple `-e'.
You don't need t... -
09:52 AM Bug #7380: benchmark/driver.rb: --executables separator
- I always use -e with quote strings. does it bother you?
By the way, -e accept `:'
like -e "foo::path1; bar::path2"
as a label of path.
- 08:14 PM Revision 5768a4a7 (git): * array.c: Fix rdoc for Array#delete [#7437]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:05 PM Bug #5768 (Closed): TestRequire#test_race_exceptionで競合するケースがまだある
- さすがに時期的に、書き直しはあきらめるべきなので、close
-
08:04 PM Bug #4909 (Closed): trapハンドラは再入されてはいけないのではないか?
- #6009と重複しているので、こちらのチケットは閉じますね。英語のほうを残します。
-
09:21 AM Bug #4909: trapハンドラは再入されてはいけないのではないか?
- 小崎先生にお任せ.
-
08:02 PM Bug #6416 (Closed): Deadlock when calling Thread#join from signal interrupt context
- Fixed at r37852.
Thanks, Timothy! -
09:35 AM Bug #6416: Deadlock when calling Thread#join from signal interrupt context
- I agree with kosaki-san's comment.
-
07:57 PM Bug #6009 (Closed): Rapid signal delivery via kill(2) causes SystemStackError
- This issue was solved with changeset r37861.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ruby_atomic.h (ATOMIC_CAS): new macro for compare-and-exchange.... -
07:46 PM Bug #6786 (Closed): Add :trace_instruction to the output of RubyVM::InstructionSequence.compile_option
- This issue was solved with changeset r37860.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* iseq.c (make_compile_option_value): add trace_instruction opti... -
07:19 PM Revision cd246ff2 (git): string.c: suppress warning
- * string.c (rb_str_enumerate_bytes): suppress a uninitialized variable
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:12 PM Revision 943b664e (git): extmk.rb: git rid of post-1.8 features
- * ext/extmk.rb (extmake): git rid of post-1.8 features for cross
compilation. [ruby-core:50160] [Bug #7439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:54 PM Bug #4559: Proc#== does not match the documented behaviour
def test_eq2
b1 = proc { }
b2 = b1.dup
assert(b1 == b2)
end
will be `false'. Is it okay?
-
06:43 PM Bug #5985: miniruby skews "make benchmark" results
- Sorry, the previous comment is for [Bug #7380].
BTW, the current benchmark using `ruby' instead of `miniruby'.
The difference is `--disable-gems':
$ make benchmark COMPARE_RUBY='installed::~/tmp/trunk/bin/ruby --disable-gems' ... -
06:20 PM Bug #5985 (Closed): miniruby skews "make benchmark" results
- I changed to accept multiple `-e' like "-e path1 -e path2". or "-e label1::path1 -e label2::path2".
You don't need to use `;' character.
-
06:34 PM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> ko1's suggestion, as I understand it, was to add a flag to the method table (or method entry) of a refined class/method as a trigger for the call site to search refinements. While writing my blog post, ... -
05:48 AM Feature #4085: Refinements and nested methods
- I was reading this discussion (http://branch.com/b/rubyists-which-would-you-rather-have-in-ruby-2-0-0) about refinements, and read the last post by Magnus Holm (@judofyr) which said:
> I think refinements are useful for some specific ... -
05:42 PM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
- 反応が遅れてすみません。
まずは、ko1 さんからリクエストがあった ruby 単体で動くベンチマークを作ってみて、
その後 dtrace してみます。
-
09:50 AM Bug #7356: ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
- 最悪「refinementのせい」「siphash のせい」ということで一つ.
いや,プロファイラ作れって話か.
簡単に試せそうなら,せっかく入った dtrace で見てみたいのですが,
yanoh さん,いかがでしょうか. - 04:01 PM Revision 79d42a88 (git): * README: mention about README.win32.
- * win32/README.win32: small changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 PM Feature #2255: unicode parameters cannot be passed to ruby
- % Done: 0% ;-(
-
03:23 PM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
- Indeed, the documentation does not match the code and there is no test for this.
It was clearly Matz' intention to return the (last) deleted element: https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/18527
This is... -
01:21 PM Bug #7437: Array#delete(obj) should return obj when there is an object that is equal in the array
- Here's the patch. Where should the tests go? RubySpec?
-
01:00 PM Bug #7437 (Closed): Array#delete(obj) should return obj when there is an object that is equal in the array
- According to http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-delete, Array#delete(obj) should return "obj" when there are objects in the array that are "equal to obj" (internally, "==" is used, it seems).
Notice that the docume... - 03:17 PM Revision 4491b98c (git): * 2012-11-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 PM Revision 5b238e8d (git): * thread.c (rb_mutex_trylock, rb_mutex_unlock, mutex_sleep):
- raises ThreadError if called from trap handler as Thread#join.
* NEWS: news fot the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:01 PM Bug #7276: TestFile#test_utime failure
- This seems due to r37337. I don't know the reason of r37337, but reverting the commit (use rb_w32_fstati64 for fstat) will fix this.
-
02:55 PM Revision 23d5c282 (git): * NEWS: update for Thread#join incompatible change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:53 PM Feature #6762: Control interrupt timing
- For the records.
Ko1 suggested me defer_async_interrupt or async_interrupt_timing(...){...}.
Both looks acceptable to me.
async_interrupt_timing(X => :immediate)
async_interrupt_timing(X => :on_blocking)
async_interrupt_timing... -
10:29 AM Feature #6762: Control interrupt timing
- SASADA Koichi <ko1@atdot.net> wrote:
> Okay mame-san.
>
> Eric, could you advice a good name?
Really, naming is hard :<
I think Thread.may_raise is fine, however...
I prefer not to introduce new methods at all, but... -
09:53 AM Feature #6762: Control interrupt timing
- (2012/11/03 8:33), kosaki (Motohiro KOSAKI) wrote:
>> Okay. Give us a good name.
>
> How's this?
>
> control_interrupt() => defer_async_raise() or defer_unwinding()
>
> "control" is unclear and don't explain what actio... -
09:53 AM Feature #6762: Control interrupt timing
- Okay mame-san.
Eric, could you advice a good name?
Kosaki-san's points:
[ruby-core:48769] [ruby-trunk - Feature #6762] Control interrupt timing
(2012/11/24 12:15), mame (Yusuke Endoh) wrote:
>
> Issue #6762 has bee... -
01:47 PM Revision 39d38ff8 (git): * thread.c (rb_thread_terminate_all): use native_sleep() instead
- of rb_thread_schedule(). Otherwise, it consume 100% cpu meaninglessly.
[Bug #5368] [ruby-dev:44546]
* thread.c (thread_start_func_2): last sub-thread wakes up main thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37865 b2dd03... -
12:17 PM Revision 66e2e6ee (git): * vm_core.h (RUBY_VM_SET_TIMER_INTERRUPT, RUBY_VM_SET_INTERRUPT)
- (RUBY_VM_SET_FINALIZER_INTERRUPT, RUBY_VM_SET_TRAP_INTERRUPT)
(RUBY_VM_INTERRUPTED): use enum symbol instead of immediate value.
* thread.c (thread_join_m, rb_threadptr_execute_interrupts): ditto.
* signal.c (signal_exec): ditto.
git-sv... -
11:45 AM Revision 58543f00 (git): * thread.c (thread_join_m): use th->interrupt_mask instead of
- th->in_trap.
* vm_core.h (struct rb_thread_struct): remove in_trap member.
* signal.c (signal_exec): ditto.
* thread.c (thread_create_core): ditto.
* thread.c (Init_Thread): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3786... - 11:25 AM Revision 12d48f4e (git): * test/ruby/test_argf.rb (TestArgf#test_chars): since marshal data is
- binary, shouldn't pass via text mode. use base64 encoded data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:11 AM Bug #2402: super in instance_eval
- ko1 (Koichi Sasada) wrote:
> shugo-san
> ...
instance_evalの中でsuperを呼んだ時に正しいレシーバを見つけるために r36640 で外側のフレームを辿る
ようにしたのですが、 Bug #6907 の問題があったので r36795 でrevertしました。
現状はNotImplementedErrorがraiseされますが、こういうケースでsuperが呼べないのを仕様ということに
するなら(sel... -
09:05 AM Bug #2402: super in instance_eval
- shugo-san
これ,どういう話でしたっけ. -
10:57 AM Revision 6190bb4d (git): * ruby_atomic.h (ATOMIC_CAS): new macro for compare-and-exchange.
- * vm_core.h (struct rb_thread_struct): add interrupt_mask member.
* thread.c (thread_create_core, Init_Thread): initialize
th->thread_mask.
* vm_core.h (RUBY_VM_INTERRUPTED_ANY): new macro for avoiding
bare th->interrupt_flag.
* vm_... -
10:46 AM Revision 8c6ad2b0 (git): * iseq.c (make_compile_option_value): add trace_instruction option.
- a patch by davidbalbert (David Albert).
[Bug #6786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:14 AM Revision 42e9fc41 (git): * bootstraptest/test_thread.rb: try to `join' each 100
- threads.
This benchmark seems consuming long time on travis-ci
several times (and make `failure').
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:54 AM Bug #6832 (Closed): Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- Closed on request of myronmarston.
(I'm not totally sure, but I think only people in the Assignee list can close issues.) -
09:22 AM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- Is there a way to close the issue? I haven't used rubymine enough to figure out how to do that, but I would if I could.
-
09:21 AM Bug #6832: Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- While I still think this is initially surprising behavior, I've thought about it some more and realized that there's a big problem here. Consider this class:
class Foo
def initialize(prefix)
@prefix = prefix
end
def r... -
09:48 AM Bug #7259 (Closed): ruby-debug-base19x does not compile on 2.0.0-head
-
09:46 AM Bug #6981: set_trace_func passes strange bindng on method call defined by define_method
- time up.
-
09:35 AM Bug #6701: once literal doesn't care escape
- これ,preview 2 の後でも許されますか?
許されないなら next minor 行き. -
09:34 AM Bug #6117: Transfers allowed into Fibers that have resumed into other fibers
- Exception seems good.
`transfer' and `resume' should not be mix.
Any volunteer?
or it will be tagged `next minor'.
-
09:30 AM Revision 7b918be3 (git): * common.mk: specify label `built-ruby'.
- * benchmark/driver.rb: quote path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:28 AM Revision 521af835 (git): * signal.c (signal_exec): add volatile to make sure setjmp safe.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:27 AM Bug #5527: set_trace_func binding incorrect
- no discussion.
-
09:25 AM Revision 458796d4 (git): * signal.c (signal_exec): suppress "warning: variable 'signum'
- might be clobbered by 'longjmp' or 'vfork'" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Bug #5240 (Feedback): Hang when using threads + forks on Debian GNU/kFreeBSD
-
09:23 AM Bug #5236: Including a module in a superclass after it has been included in a subclass leads to infinite recursion if the module uses `super`
- nobu, could you check it?
-
09:22 AM Bug #4911: timer_thread_function() が thead unsafe
- これは忘れてはいけなかった気がする.
小崎先生お願いします. -
09:22 AM Revision 70871531 (git): split trap interrupt and async interrupt
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:20 AM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
- Priority: *High*.
-
09:19 AM Bug #4537: Incorrectly creating private method via attr_accessor
- No discussion.
-
09:19 AM Revision 2e87867a (git): * benchmark/driver.rb: accept multiple `-e'.
- You don't need to use `;' separation character.
[ruby-core:50139] [ruby-trunk - Bug #7380]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:18 AM Bug #4502: strange Module.new behaviour
- nobu, could you check it?
I think you tried something like this issue.
-
09:16 AM Bug #4492 (Feedback): Segfault on successive stack overflows
-
09:14 AM Bug #4379: [patch] eval(s, b, "(eval)", n) discards location
- Are there any applications that this problem is critical for?
-
09:11 AM Bug #4285 (Feedback): Ruby don't have asynchrounous exception safe syntax and It should have.
-
09:10 AM Bug #4040: SystemStackError with Hash[*a] for Large _a_
- We need re-consideration about method invocation to support such cases.
I want to challenge at next version.
-
09:05 AM Bug #3080: class_variable_set issue with duped Module
- nobu, could you check it?
-
09:03 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- I will check it *after* preview2.
This ticket will not affect *Ruby* level spec.
-
09:01 AM Feature #1952: cannot stop with Ctrl+C
- これはやらんといかんということで,pr2 前か後かわかりませんが,やります.
-
09:01 AM Feature #1586: Including a module already present in ancestors should not be ignored
- nobu, could you check it?
-
09:00 AM Bug #1152: profiler.rb is not concurrent-execution threadsafe
- nobu, could you check it?
-
08:59 AM Bug #953: 深い入れ子の配列の取り扱いで落ちる
- タイムアップとして次に回します.
-
08:59 AM Feature #7436: Allow for a "granularity" flag for backtrace_locations
- (2012/11/26 7:06), sam.saffron (Sam Saffron) wrote:
> This allows for one to take quicker backtraces if they need less information, additionally BacktraceInfo::Bindings and BacktraceInfo::Klass could be added which allow you to gather... -
07:49 AM Feature #7436 (Assigned): Allow for a "granularity" flag for backtrace_locations
-
07:08 AM Feature #7436: Allow for a "granularity" flag for backtrace_locations
- ouch, this was meant to be a feature req not a bug ... cant figure out how to change
-
07:06 AM Feature #7436 (Assigned): Allow for a "granularity" flag for backtrace_locations
- related to http://bugs.ruby-lang.org/issues/7051
Sometimes one need less information (or more information) associated with backtraces.
It would be nice if one could send in a separate flag informing the VM about the granularity of ... -
08:59 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
- (2012/11/26 6:59), sam.saffron (Sam Saffron) wrote:
> caller_locations(0,-2) # should strip the bottom frame
2nd parmeter specify `how many frames'.
I feel 1st parameter is nice to accept negative index.
I don't have posi... -
07:49 AM Feature #7434 (Assigned): Allow caller_locations and backtrace_locations to receive negative params
-
07:08 AM Feature #7434: Allow caller_locations and backtrace_locations to receive negative params
- ouch, this was meant to be pointed at 2.0 can't figure out how to change
-
06:59 AM Feature #7434 (Closed): Allow caller_locations and backtrace_locations to receive negative params
- Further to http://bugs.ruby-lang.org/issues/7051
It would be nice if caller_locations and backtrace_locations has some parity with range apis.
pry(main)> [1,2,3][0..-2]
=> [1, 2]
Similarly:
caller_locations(0,-2) # should ... -
08:56 AM Feature #7435 (Rejected): Exceptions should have backtrace_locations
-
08:53 AM Feature #7435: Exceptions should have backtrace_locations
- (2012/11/26 7:02), sam.saffron (Sam Saffron) wrote:
> This means exceptions could be more efficient as filenames could easily be pinned in memory leading to significantly reduced allocation for exceptions.
Current implementation... -
07:54 AM Feature #7435: Exceptions should have backtrace_locations
- Sorry, meant next minor, as #7051
-
07:48 AM Feature #7435 (Assigned): Exceptions should have backtrace_locations
-
07:07 AM Feature #7435: Exceptions should have backtrace_locations
- ouch, this was meant to be a feature req not a bug ... cant figure out how to change
-
07:02 AM Feature #7435 (Rejected): Exceptions should have backtrace_locations
- Further to http://bugs.ruby-lang.org/issues/7051
def boom
raise "boom"
end
begin
boom
rescue => e
p e.backtrace
end
# ["t.rb:2:in `boom'", "t.rb:6:in `<main>'"]
It seems exceptions still store backtraces in strin... -
08:13 AM Revision 6746eeca (git): * string.c (rb_str_enumerate_chars, rb_str_enumerate_codepoints)
- (rb_str_enumerate_lines): suppress "may be used uninitialized in
this function" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:05 AM Revision f150ed15 (git): * vm_core.h (rb_thread_struct): added 'in_trap' member for marking
- running trap handler.
* signal.c (signal_exec): turn on in_trap when running trap.
* thread.c (Init_Thread, thread_create_core): initialize in_trap
when creating new threads.
* thread.c (thread_join_m): raise ThreadError when running t... -
07:39 AM Feature #7429: Provide options for core collections to customize behavior
- @headius I am afraid it's not going to 2.0, for some reasons:
* it's too late to add new classes to 2.0
* and it will take more time to prepare parallel collection implementation for other Ruby (in this case mainly CRuby).
* the fut... -
03:57 AM Feature #7429: Provide options for core collections to customize behavior
- Speed isn't everything...until it becomes everything. Ruby should not be wasteful unnecessarily. There are also immutable truths about data structure implementation, like the fact that adding thread-safety to most data structures comes a...
-
03:44 AM Feature #7429: Provide options for core collections to customize behavior
- That is interesting. I suspect part of the problem is the design of the Hash class itself --something I addressed before in #6442. If Hash had a core set of non-reducible methods which all the others depended, then those should be the on...
-
03:26 AM Feature #7429: Provide options for core collections to customize behavior
- trans (Thomas Sawyer) wrote:
> I wonder if concurrency behavior can be designed as a mixin. As long as the underlying class conforms to its interface then "ParallelWhatever" becomes possible. ParallelHash would then not be needed as a b... -
03:23 AM Feature #7429: Provide options for core collections to customize behavior
- matz (Yukihiro Matsumoto) wrote:
> Even though I prefer smaller set of built-in fundamental classes, I don't think 'concurrent' option is sufficient,
> ...
That was indeed my intention; concurrent: true would allow using a completely d... -
07:37 AM Revision 3e0becb4 (git): * io.c (argf_each_codepoint): add missing ARGF#codepoints [Bug #7438]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:09 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- Addeed #7436 #7435 and #7434
-
07:00 AM Revision cb0a4c0f (git): * bignum.c (bigdivrem): restart calculation when bigdivrem1 was
- interrupted by signal. Otherwise, ruby script may see a garbage
value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:49 AM Revision 6f3ad9bd (git): * bignum.c (big_div_struct): added volatile to 'stop' member.
- Otherwise, "if (bds->stop)" check in bigdivrem1 don't read
memory and ignore interrupt.
* bignum.c (bigdivrem, rb_big_stop): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 AM Feature #6895: TracePoint API
- > I can't get points.
> ...
Undefined event, where `tp.event #=> nil`. I would assume there is always an event type, but just checking this is so.
> caller or caller_locations is not enough?
Wouldn't caller_locations return the lo... -
05:53 AM Feature #6895: TracePoint API
- Hi,
(2012/11/26 4:27), trans (Thomas Sawyer) wrote:
> I made a comparison of the API with the pure Ruby TracePoint gem I had
written and have a few points:
I don't copy TracePoint gem.
> * Do all traces have a defined... -
04:27 AM Feature #6895: TracePoint API
- I made a comparison of the API with the pure Ruby TracePoint gem I had written and have a few points:
* Do all traces have a defined event type now? I see that I had #event? and #eventless? methods in my API b/c sometimes event is nil... -
06:01 AM Feature #6670: str.chars.last should be possible
- =begin
An IO may be infinite (({open "/dev/zero" do |io| io.chars.to_a }})), and so may ARGF ((%ruby -e 'ARGF.chars.to_a' /dev/zero%)).
It doesn't make sense to add it to StringIO, but you make work around the omission through String... -
02:23 AM Feature #6670: str.chars.last should be possible
- What about IO, StringIO, ARGF as mentioned above?
Thanks,
Brian -
04:52 AM Bug #7344: gem pristine bigdecimal が失敗してしまう
- 須藤さんありがとうございます。直りそうな気がします!
mrkn よろしくお願いします!
-
03:12 AM Revision e4b54208 (git): string.c: suppress warnings
- * string.c (rb_str_enumerate_{lines,chars,codepoints}): suppress
uninitialized variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision 6a858bc1 (git): Makefile.sub: fix r37821
- * win32/Makefile.sub (DLNOBJ): missing in r37821.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:08 AM Feature #7400: Incorporate OpenSSL tests from JRuby.
- MartinBosslet (Martin Bosslet) wrote:
> > ((*Some caveats:*))
> ...
Sounds good. I will monitor this bug, but poke me if I haven't noticed updates.
> > * ((*There are several tests that reference bug numbers from JRuby. We would lik... -
01:57 AM Revision 769781a0 (git): * test/ruby/test_process.rb (test_setsid): added a few wait for
- preventing that Process.getsid(io.pid) makes Errno::ESRCH.
(refix r37844)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:52 AM Bug #7246 (Assigned): FileUtils.cp_r does not preserve attributes of directories
- Thanks, I'll import your fix unless there is objection.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:19 AM Bug #7180: set_trace_func with error in proc block locks up Ruby with 100% cpu usage and no way to exit without killing proc
- The following script also repeat "[:return, 1]".
I'm not sure it is same problem or not.
def m
p:m
end
TracePoint.trace(:call, :return){|tp| p [tp.event, tp.line]; raise "bar"}
m
11/25/2012
-
11:19 PM Feature #7429: Provide options for core collections to customize behavior
- =begin
I wonder if concurrency behavior can be designed as a mixin. As long as the underlying class conforms to its interface then "ParallelWhatever" becomes possible. ParallelHash would then not be needed as a built-in class b/c it wou... -
09:54 PM Feature #7429 (Rejected): Provide options for core collections to customize behavior
- Even though I prefer smaller set of built-in fundamental classes, I don't think 'concurrent' option is sufficient,
since it requires totally different implementation. I think it's rather better for you to propose 'ParallelHash' etc.
... -
09:55 AM Feature #7429: Provide options for core collections to customize behavior
- Too late completely, as you said.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:49 AM Feature #7429 (Rejected): Provide options for core collections to customize behavior
- Many folks know that Matz is a fan of having a few classes that handle a wide range of behavior. For this reason, I think we're unlikely to get a set of parallelism-safe collections added to Ruby. I propose an alternative that would allo...
-
11:11 PM Feature #7432: Explicit way to define local variable in scope
- I see why then. Thanks.
-
09:49 PM Feature #7432 (Rejected): Explicit way to define local variable in scope
- Since I am sick of 'var' and 'local' in other languages, I don't want to add explicit local variable declaration, that requires a new keyword. Introducing a new keyword may break existing programs.
@trans Your idea would eliminate ma... -
08:02 PM Feature #7432: Explicit way to define local variable in scope
- I have always been curious why there is no dynamic way to create local variables (other then eval).
Eg. x = 10 might be dynamically written:
local :x, 10
Since we can create just about anything else dynamically, it seems like ... -
06:17 PM Feature #7432 (Assigned): Explicit way to define local variable in scope
- Assigning to matz, but don't hold your breath; matz has rejected such a explicit variable declaration syntax many times.
--
Yusuke Endoh <mame@tsg.ne.jp> -
05:18 PM Feature #7432: Explicit way to define local variable in scope - This should definitely not be a method, however I would welcome a 'local' keyword for this purpose.
-
04:32 PM Feature #7432 (Rejected): Explicit way to define local variable in scope
- Imagine code such as this
def test_smth
result = nil
assert_nothing_raised { result = some_slow_calculation }
assert_equal expected_answer, result
end
Line `result = nil` means nothing more than our intention to sim... -
10:40 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
- あぁ、それは解決しないです。そっちはrubygems.orgにあるbigdecimal-1.1.0.gemをダウンロードしてビルドするのでdefault gemとかは関係ない世界になります。
gem install bigdecimalする機会があるのかどうかはおいておくとして、bigdecimal gemがトップレベルにextconf.rbとかbigdecimal.cとかを転がしているのをext/bigdecimal/以下に移動すれば解決するような気がします!
... -
09:42 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
- gem install bigdecimal でも同様の結果になってしまいました。rubygems/rubygems の #377 でインストールできない問題も解決するのであれば、rubygems 側の変更でよさそうです。
-
01:46 PM Bug #7344: gem pristine bigdecimal が失敗してしまう
- RubyGemsに https://github.com/rubygems/rubygems/pull/377 がマージされて、RubyGemsがRuby本体にマージされれば #7427 解決しそうな気がします。RubyGemsの方のpull requestではdefault gemのpristineはスキップするようにしてあるので。
-
02:16 AM Bug #7344: gem pristine bigdecimal が失敗してしまう
- 他のライブラリは pure-ruby なので問題無いようです。EM 等にならってビルド時の working ディレクトリを tmp とかにすれば良さそうな気もしますが、rubygems や fake_gem.rb の仕組みをあまりよくわかってないので、パッチまでは作れませんでした。
-
09:32 PM Feature #6688: Object#replace - This is a very dangerous proposal and has the potential to cause all sorts of crashes and other nastiness.
Consider this case:
o = {}
m = o.method :[]=
o.replace []
m.call("foo", "bar")
And this case:
a = Class.ne... -
02:33 AM Feature #6688: Object#replace
- This is an awful, awful idea. Objects should never change their basic type in-place, or the very essence of OO is destroyed. Matz has also said in the past he did not like #become and would not add it to Ruby.
It is bad enough that we... -
09:00 PM Bug #7430: 'unexpected return' occurs when call a Proc that returning value in rescue
- In fact, there is no problem with 'return' in 'rescue'.
My intention is to return after the Proc not continue execution. Like this:
def test
puts "start: test"
p = Proc.new do |date_str|
begin
require "time"
... -
09:50 AM Bug #7430 (Rejected): 'unexpected return' occurs when call a Proc that returning value in rescue
- This is the spec. To exit from Proc, use next instead of return.
p = Proc.new do
begin
1 / 0
rescue
next "error handled by proc"
end
end
p.call
You can use return to exit from lambda.
p = lambd... -
05:44 AM Bug #7430 (Rejected): 'unexpected return' occurs when call a Proc that returning value in rescue
- p = Proc.new do
begin
1 / 0
rescue
return "error handled by proc"
end
end
p.call - 04:59 PM Revision 251dbc12 (git): * 2012-11-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:59 PM Revision 997518c6 (git): * test/ruby/test_process.rb (test_setsid): call Process.getsid for
- child process in child process. because parent process call
Process.getsid with io.pid, Errno::ESRCH could be raised.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 PM Bug #6653: 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- Unfortunately, I've seen nothing wrong even if file descriptor limits are greater than FD_SETSIZE.
-
11:41 AM Bug #6653 (Assigned): 1.9.2/1.9.3 exhibit SEGV with many threads+tcp connections
- Erik, thank you for the reply!
Well, it seems that there is something wrong in the handling of file descriptors bigger than FD_SETSIZE.
Akr-san, kosaki-san, ko1, do you have any idea?
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:39 PM Revision 56132b13 (git): array.c: refactoring of rb_ary_delete_same()
- * array.c (ary_resize_smaller): new function to resize array.
* array.c (rb_ary_delete): refactoring to extract a function.
* array.c (rb_ary_delete_same): refactoring.
It renames function, reduces duplicated code and removes unused
... -
01:28 PM Revision 0012b0ab (git): * array.c: fixes for the updated documentation in r35858:
- Typos and #take/#drop accept to take/drop 0 elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 PM Bug #7431 (Rejected): Encoding.compatible? results are order-dependent for Strings but not Encodings
-
12:48 PM Bug #7431: Encoding.compatible? results are order-dependent for Strings but not Encodings
- Nevermind, I was writing other specs and interchanging Encoding constants and encoding names (eg that #encode and #force_encoding accept). I'm sure no one could ever get confused by these APIs.
You can close the issue.
Cheers,
Brian -
12:32 PM Bug #7431 (Rejected): Encoding.compatible? results are order-dependent for Strings but not Encodings
- Could someone please explain the following?
1.9.3p286 :001 > Encoding.compatible? "euc-jp", "utf-8"
=> #<Encoding:UTF-8>
1.9.3p286 :002 > Encoding.compatible? "utf-8", "euc-jp"
=> #<Encoding:UTF-8>
1.9.3p286 :003 > a = "a".for... -
12:15 PM Bug #7311 (Assigned): DRb test suite fails when hostname cannot be reached
- Seki-san, Urabe-san, Naruse-san, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:03 PM Bug #7318 (Feedback): activerecord-3.2.8/lib/active_record/connection_adapters/postgresql_adapter.rb:1213: [BUG] Segmentation fault
- Sorry, please contact first on pg gem developer. The segfault seems to occur in pg_ext.so.
If they say this is definitely Ruby issue, please tell us the detailed reproducing process, assuming that we are ignorant about rails.
Thanks... -
11:57 AM Bug #7364 (Assigned): CGI::Cookie.parse can't deal with cookie options
- I guess that CGI::Cookie::parse is a method for parsing ENV["HTTP_COOKIE"], not http response.
Anyway I'm assigning to xibbar, cgi.rb maintainer.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:17 AM Feature #6589: Set#rehash
- headius (Charles Nutter) wrote:
> Is it specified that Set must be hashtable-based forever? There are alternate ways to implement a Set.
Alternate ways of implementing Set with check/insertion in O(1) that would also work if structur... -
02:05 AM Feature #6589: Set#rehash
- Is it specified that Set must be hashtable-based forever? There are alternate ways to implement a Set.
-
10:51 AM Feature #7349: Struct#inspect needs more meaningful output
- This is not a bug. This ticket has been moved to the feature tracker.
I'm not against this proposal, but I don't think that people normally check the singleton class to know Struct fields. You may want to use Struct.#members:
p... -
10:44 AM Feature #7349 (Assigned): Struct#inspect needs more meaningful output
-
10:45 AM Revision d91b1dd4 (git): * NEWS: add a news about iconv.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:42 AM Bug #7373 (Assigned): FileUtils#chmod verbose gives error when mode is string
- Thank you.
I'll apply the following patch unless there is objection.
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index af2d19a..57ab0cf 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -996,6 +996,10 @@ private
... -
09:46 AM Feature #6647: Exceptions raised in threads should be logged
- headius (Charles Nutter) wrote:
> Can we at least agree it should happen for 2.0.0?
No, objection. This looks to me nothing except for a feature request.
I cannot estimate the impact how writing to stderr affects existing applicati... -
02:18 AM Feature #6647: Exceptions raised in threads should be logged
- Checking in on this again. Can we at least agree it should happen for 2.0.0? Perhaps Matz should review this?
-
09:34 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
- Though it is better if it is implemented in this month, an accepted feature can be implemented up to code freeze (around Christmas).
If you are still having difficulties, it is okay to postpone to next minor.
Thanks,
--
Yusuke E... -
09:16 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
- Sorry, was unable to work on this while still working on the other bug/issues.
I'm moving this to next minor.
Either way, RubyInstaller binary distributions have been doing what this ticket describes.
Thank you. -
07:39 AM Revision 1ab73afb (git): Fix test to follow r37838
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:00 AM Bug #7326: Time.c doc improvements
- After going over the file one last time I found a couple of lines I've missed.
-
06:19 AM Feature #7121: Extending the use of `require'
- Just an alternative idea. What about using Regexp as an alternative to String?
require /.*_helper/ -
03:46 AM Feature #6670 (Closed): str.chars.last should be possible
- This issue was solved with changeset r37838.
Yutaka, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
String#{lines,chars,codepoints,bytes} now return an array.
* s... -
02:28 AM Feature #6721: Object#yield_self
- It occurs to me #apply is used in some other languages to refer to the elements of a collection rather than to the collection itself.
~~~ruby
[1,2,3].apply {|n| puts n}
~~~
Did we ever decide if the `#self` method would be added?... -
02:03 AM Feature #7299: Ruby should not completely ignore blocks.
- Perhaps methods that want to ensure nobody accidentally passes in a block should just check for it? `fail if block_given?` for example?
An option for a syntactic check in Ruby code: def foo(&nil) => raise error on call if a block is g... -
01:39 AM Bug #7081: GServer orphaned threads lead to resource exhaustion
- FWIW, this could have been fixed by ko1's proposal for threads that don't start until you start them. This would guarantee the thread was created and in the list before started.
There's an alternative fix:
diff --git a/lib/ruby/1.9...
11/24/2012
-
10:24 PM Feature #6670: str.chars.last should be possible
- Thanks!
> Should I revise the patch myself?
Could you do it, please?
If you are not willing, please pass the ball to nagachika-san.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:18 PM Feature #6670: str.chars.last should be possible
- Hello,
Sorry for late reply.
OK, I assign this ticket to knu san again.
Anyway I'm willing to review the patch :)
BTW, I cannot apply string_bytes_to_array.patch on trunk r37835. -
07:38 PM Feature #6670: str.chars.last should be possible
- Sorry, my mail filter was so buggy I failed to be notified.
I've reviewed and already given a comment above, and another on Twitter that yieldp can be dropped in favor of NIL_P(ary), without any of them responded to.
Should I revise ... -
11:16 AM Feature #6670: str.chars.last should be possible
- nagachika-san, could you please review this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:26 PM Bug #7304 (Closed): Random test failures around test_autoclose_true_closed_by_finalizer - This issue was solved with changeset r37834.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Fix WeakRef finalize
* `array.c` (`rb_ary_delete_same_o... -
08:28 PM Bug #7304 (Assigned): Random test failures around test_autoclose_true_closed_by_finalizer
- This fix causes segv, which was pointed out at r37831. Thank you, naruse-san.
I found `rb_ary_delete(ary, obj)` is not usable when doing `WeakRef` finalize because `rb_ary_delete()` calls `rb_equal()` against GC'ed `WeakRef` object.
In... -
01:01 PM Bug #7304 (Closed): Random test failures around test_autoclose_true_closed_by_finalizer - This issue was solved with changeset r37826.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Fix finalize of WeakRef
* `gc.c` (`wmap_final_func`): r... -
04:06 AM Bug #7304: Random test failures around test_autoclose_true_closed_by_finalizer
- Thank you Nobu,
Hiroshi, Nobu give you green light to commit the changes from the branch.
Thank you both! -
08:57 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- Hope this https://bugs.ruby-lang.org/issues/6586 could be done any time soon :)
-
07:38 PM Bug #7326: Time.c doc improvements
- See my three patches (time_patch000x.diff), first one for typos etc, second one for format changes and third one for more substantial changes to the docs.
- 06:51 PM Revision e58d0bd3 (git): Move tests embedded in lib/set.rb to test/test_set.rb.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:46 PM Revision 3f9b0936 (git): String#{lines,chars,codepoints,bytes} now return an array.
- * string.c (rb_str_each_line, rb_str_lines): String#lines now
returns an array instead of an enumerator. Passing a block is
deprecated but still supported for backwards compatibility.
Based on the patch by yhara. [Feature #6670]
... -
06:40 PM Bug #7380 (Assigned): benchmark/driver.rb: --executables separator
- ko1, what do you think?
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:39 PM Bug #7425 (Feedback): Execute a script by active record, the console is crash.
- What's "Stakeholder"?
Please show us any reproducible code, or, disclose your rails application.
Please assume that we are ignorant about rails, or, contact on rails folks first.
You said "ruby: 1.9.3-p286", but the log says: "rub... -
06:25 PM Bug #7356 (Assigned): ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化
- ささださん、preview2 後でいいのでがんばってみてください。
こういうので遅くなってたら「ささださんの仕事とは何だったのか」ということになりかねない。
他の方の追試も歓迎です。
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:17 PM Bug #7406 (Assigned): English.rb says that $_ is thread-local, but it is frame-local
- I think that "scope-local" normally implies "thread-local".
If you think it is confusing, I'll delete the comments, unless there is objection.
diff --git a/lib/English.rb b/lib/English.rb
index 4fd53c5..44baf17 100644
--- a/lib/Eng... -
06:12 PM Bug #7350 (Feedback): Segmentation fault with ruby 1.9.3p328 (2012-11-13) [x86_64-linux]
- Could you show the small code sample?
I'm very happy if you kindly show the process to setup STOMP server :-)
We can make no progress without it.
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:10 PM Feature #4085: Refinements and nested methods
- Here are few points I'd like to make as to why I think the feature should not be part of 2.0. First of all, there is currently not a single idea / design that describes what refinements are. In this issue different approaches and ideas a...
-
02:58 PM Feature #4085: Refinements and nested methods
- duerst (Martin Dürst) wrote:
> If this means that every time (or the first time) refinements are used in a program, a warning is issued, e.g. "Use of refinements is currently experimental, and implementation may change in future version... -
02:21 PM Feature #4085: Refinements and nested methods
- mame (Yusuke Endoh) wrote:
> I propose: will we release the refinement as an "experimental" feature? It is enough for 2.0 to clarify:
> ...
If this means that every time (or the first time) refinements are used in a program, a warni... -
02:07 PM Feature #4085: Refinements and nested methods
- P.S. This is just my current impression, but we have no option to remove the whole feature from 2.0.0.
--
Yusuke Endoh <mame@tsg.ne.jp>
-
02:04 PM Feature #4085: Refinements and nested methods
- To be honest, I do not follow this discussion at all. I just heard from ko1 that there are still room to discuss this feature.
I propose: will we release the refinement as an "experimental" feature? It is enough for 2.0 to clarify:
... -
05:41 PM Feature #7412 (Assigned): Pathname#relative_path_from does not support mixed directory separators on windows
-
05:41 PM Bug #7342 (Assigned): String#<=> checks for a #to_str method on other but never uses it?
-
05:32 PM Feature #7424 (Assigned): an embedded Ruby interpreter doesn't get the full Ruby environment unless it calls ruby_process_options() (which is not documented)
- I think that this is a feature request, not a bug. Moving the feature tracker.
Related to #3731.
--
Yusuke Endoh <mame@tsg.ne.jp> - 05:14 PM Revision 7f0dd3a5 (git): * 2012-11-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:14 PM Revision 6c1bfbe4 (git): Fix tests of rb_warning().
- * test/ruby/envutil.rb (Test::Unit::Assertions#assert_warning)
(Test::Unit::Assertions#assert_warn), test/ruby/envutil.rb,
test/ruby/test_enumerator.rb, test/ruby/test_io_m17n.rb,
test/ruby/test_regexp.rb, test/ruby/test_syntax.rb:... -
03:26 PM Feature #4840: Allow returning from require
- Anyone create a patch conformed to the spec written in [ruby-core:46648]?
I guess that my experimental patch ([ruby-core:36811]) is not confirmed completely;
perhaps it allows "return from class definition" (but I didn't tested yet).... -
02:19 PM Feature #6552 (Rejected): Enumerator::Generator:select should return another Enumerator::Generator
- I agree with gregolsen. No feedback. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:18 PM Feature #6557 (Closed): Make rb_hash_clear() public
- Congrats, rb_hash_clear() was public since r37480.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:51 PM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- I postpone this ticket to next minor. Very sorry.
If Eric Wong were a committer, I would leave this to him.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:35 PM Feature #7377: #indetical? as an alias for #equal?
- @boris
> You give +1 to stability. I give +1 to having a synonym #identical? for #equal?
Nothing to do with stability. A bit more like +1 to defeatism. -
01:26 PM Feature #7377: #indetical? as an alias for #equal?
- This is nothing unusual or difficult about an alias. Ruby has a number of them and it hasn't turned any nuby minds to mush. On the contrary, it really provides a good way for the language to mature naturally. Case in point, early on I us...
-
10:51 AM Feature #7377: #indetical? as an alias for #equal? - Eric, your post could be shortened to 10% without loss of meaning: You give +1 to stability. I give +1 to having a synonym #identical? for #equal?
-
06:22 AM Feature #7377: #indetical? as an alias for #equal?
- Boris, sorry to break it to you, but "identical" means both "similar in every detail" (so not a misuse as in "identical twins") and also "expressing a [mathematical] identity" according to the Oxford English Dictionary.
If we already ... -
01:09 PM Feature #5903: Optimize st_table (take 2)
- I'll postpone the pool allocation to next minor. Sorry.
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:08 PM Feature #6842: Add Optional Arguments to String#strip - I don't agree with the options hash that was proposed for allowing separate strings to be stripped from the left and the right.
This:
str.strip(:left => "foo", :right => "bar")
is not as clean as something like this IMO:
... -
12:31 PM Feature #6842: Add Optional Arguments to String#strip
- Might support regexp instead of arrays,
"<b>bold text</b>".strip(/[\/<b>]/) #=> "old text"
Also note, we partially have this for #rstrip already in the form of #chomp. -
01:08 PM Bug #5317: rubyのヘッダファイルを使った拡張を行う際にoff_tの宣言回避をする事が出来ない。
- これはバグ扱いでいいですかね。早くなんとかしてくれると嬉しいです。
もしもう直ってたら閉じてください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:06 PM Feature #5056 (Closed): About 1.9 EOL
- Is there any reason to keep this ticket open?
I'm closing. Please open separate ticket for each concrete issue (if any).
--
Yusuke Endoh <mame@tsg.ne.jp> -
01:01 PM Feature #7400: Incorporate OpenSSL tests from JRuby.
- Let me set the priority to low to distinguish other 2.0.0 mandatory tickets.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:41 AM Feature #7400 (Assigned): Incorporate OpenSSL tests from JRuby.
- Adding tests is always welcome. Thank you!
Martin, you can commit it even after preview2 release if it contains only tests.
(Of course, it is much better to include it in preview2.)
But, note that any expected failure should not be... -
12:59 PM Feature #7426: Update Rdoc
- Thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:55 AM Feature #7426: Update Rdoc
- I have one more issue to evaluate before I can release. I will finish tonight, test RDoc against various gems tomorrow for regressions, then commit Sunday.
-
10:42 AM Feature #7426 (Closed): Update Rdoc
- Eric Hodel is planning to update Rdoc by the end of November.
See [ruby-core:48212].
Eric, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:58 PM Feature #6823: Where/how should ruby-mode issues be reported?
- Currently, I hesitate to drop ruby-mode.el from 2.0.0.
I'm setting to next minor tentatively. But I'm open to any opinion (before code freeze).
Anyone knows a similar case where some parts are transfered to other projects (such as E... -
12:46 PM Feature #5142 (Rejected): Remove ruby-mode.el from ruby's repo
-
12:46 PM Feature #5142: Remove ruby-mode.el from ruby's repo
- #6823 でもおんなじこと言われてます。
英語で議論したほうがいいと思うので、こっちは閉じましょう。
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:44 PM Feature #7258 (Rejected): Update Rdoc
-
10:40 AM Feature #7258: Update Rdoc
- I'll re-register this ticket because Eric is unlikely to check ruby-dev.
ruby-dev だと Eric が見てなさそうなので、チケット作り直します。
--
Yusuke Endoh <mame@tsg.ne.jp>
-
12:40 PM Feature #7121: Extending the use of `require'
- It's ugly, as it makes code harder to read. Please no.
-
09:08 AM Feature #7121 (Assigned): Extending the use of `require'
-
12:26 PM Revision 7b298723 (git): gc.c: refactoring to rename variables
- * gc.c (wmap_final_func): rename variables to clarify the meaning.
In wmap2obj the key is WeakRef and the value is referenced object.
In obj2wmap the key is referenced object and the value is an array
of WeakRef.
* gc.c (wmap_fina... -
12:26 PM Revision 1cdeab5c (git): Fix WeakRef finalize
- * array.c (rb_ary_delete_same_obj): new function for WeakRef.
This deletes same objects as item argument in the array.
* internal.h (rb_ary_delete_same_obj): add a declaration.
* gc.c (wmap_final_func): remove WeakRef object referenc... -
12:17 PM Feature #6895: TracePoint API
- I want to help with documentation, but I will open a separate ticket for review.
-
12:16 PM Feature #6895 (Closed): TracePoint API
- Sure.
I close it. -
11:23 AM Feature #6895: TracePoint API
- Ko1, may I close this ticket?
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:16 PM Feature #7394: Enumerable#find ifnone parameter could be non-callable
- This was during my import of patches from github to redmine.
You can turn off pull requests on github, maybe start a new thread to discuss that. -
11:09 AM Feature #7394: Enumerable#find ifnone parameter could be non-callable
- Oh, I didn't realized that this ticket was from github pull reqeust.
Thank you for your importing work!
But, the fact remains that this proposal was not accepted by the 2.0.0 deadline. Sorry.
It is unfortunate that people misunders... -
11:02 AM Feature #7394 (Assigned): Enumerable#find ifnone parameter could be non-callable
- Zachary Scott, please don't add 2.0.0 feature ticket unless I approve. The 2.0.0 feature deadline was passed.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:15 PM Feature #6762 (Assigned): Control interrupt timing
- Ko1 said, this issue is requiring just the name.
Please decide the name and commit it before preview2 (1 Dec.).
Otherwise, I'll postpone this ticket to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:12 PM Feature #6801: String#~ for a here document
- This is really an area in which Ruby is sorely missing some needed String methods. Some of the most commonly used methods in Ruby Facets deal with indention, mainly:
~~~ruby
# Preserves relative tabbing such that the line with the ... -
09:11 AM Feature #6801 (Assigned): String#~ for a here document
-
12:10 PM Feature #7051 (Closed): Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- I added Thread#backtrace_locations.
I close this issue. Please re-open new tickets for separated one.
-
11:19 AM Feature #7051 (Assigned): Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
-
12:09 PM Revision e6c2ffa9 (git): * ext/nkf/nkf-utf8/nkf.c (unicode_iconv_combine): returning flags are
- nkf_char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:06 PM Feature #2832 (Closed): Vector#each and Enumerable
- Right, let's close this.
I still think that Vector#map & select be covariant, and I'll change them if ever there's a request to second that. -
09:36 AM Feature #2832: Vector#each and Enumerable
- Marc-Andre, what do we have to do about this ticket?
I'm setting to next minor. Let me know if there is any task for 2.0.0.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:53 AM Feature #6757: [PATCH] Add Process.getsid
- r37825 で入れました。テストの追加と、引数を省略した時にカレントプロセスとみなす処理の追加を行いました(ほとんどのケースでカレントプロセスにしか興味ないはず)
佐藤さん、ありがとうございました。 -
11:51 AM Feature #6757 (Closed): [PATCH] Add Process.getsid
- This issue was solved with changeset r37825.
Fumiyasu, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* process.c (proc_getsid): adds new method for getting sessio... -
10:07 AM Feature #6757: [PATCH] Add Process.getsid
- kosaki さんが accept 気味なので、kosaki さんがよければ入れてください。
嫌なら next minor にしといてください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:51 AM Feature #7418: Kernel#used_refinements
- Shugo, is this feature mandatory for the 2.0.0 refinements?
I'm setting to next minor tentatively.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:49 AM Feature #7414 (Assigned): Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
- Aaron, can you fix it easily?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:47 AM Feature #6047: read_all: Grow buffer exponentially in generic case
- My experience also shows that it is useless to open a ticket for a reminder to myself :-)
I'm setting to next minor tentatively, but if it is really just a performance improvement (i.e., it affects no external modules), you can commit... -
11:32 AM Feature #7375: embedding libyaml in psych for Ruby 2.0
- Thanks matz! Aaron, go ahead.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:31 AM Feature #4233: autoload Can't Require Gems
- Thank you drbrain for the explanation!
Recently, nahi is not so active. So, I'm sorry but I recognize this as a (bad) spec of 2.0.0.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:26 AM Feature #5458: DL should be removed
- Aaron?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:25 AM Feature #7368 (Assigned): rb_str_each_line()のパフォーマンス向上とリファクタリング
-
11:22 AM Feature #2542: URI lib should be updated to RFC 3986
- Naruse-san, could you please answer to Nikos?
I'm setting to next minor, but if you are willing to do anything to 2.0.0, and if the impact is so small, I may accept.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:20 AM Feature #6265: Remove 'useless' 'concatenation' syntax
- Thanks drbrain!
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:18 AM Feature #7378 (Assigned): Adding Pathname#write
-
11:18 AM Feature #6811 (Assigned): File, Dir and FileUtils should have bang-versions of singleton methods that fails silently
-
11:12 AM Feature #6682 (Assigned): Add a method to return an instance attached by a singleton class
-
11:09 AM Feature #7396 (Assigned): encode location header
-
11:03 AM Feature #7401 (Assigned): Pathname#cleanpath default consider_symlink to true
-
11:03 AM Feature #7399 (Assigned): Add tests for PKCS7#type= and add_data.
-
10:58 AM Feature #7363 (Rejected): Remove the global Pathname() method
- As drbrain said, this is the convention in Ruby. There is no reason to hate only Pathname.
Because of compatibility, it is impossible to remove all methods that is named after the corresponding class, i.e., Integer, Array, etc.
--
... -
10:52 AM Feature #7309 (Assigned): HEREDOC end of line or similar
-
10:49 AM Feature #7148 (Assigned): Improved Tempfile w/o DelegateClass
-
10:45 AM Feature #7362 (Assigned): Adding Pathname#start_with?
-
10:45 AM Feature #7361 (Assigned): Adding Pathname#touch
-
10:45 AM Feature #7360 (Assigned): Adding Pathname#glob
-
10:43 AM Feature #7427 (Closed): Update Rubygems
- Eric Hodel is planning to update Rubygems by the end of November.
See [ruby-core:48212].
Eric, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:40 AM Feature #7257 (Rejected): Update Rubygems
- I'll re-register this ticket because Eric is unlikely to check ruby-dev.
ruby-dev だと Eric が見てなさそうなので、チケット作り直します。
--
Yusuke Endoh <mame@tsg.ne.jp>
-
10:39 AM Feature #6980: OpenSSL support for AEAD additional authenticated data and tags
- Please commit it before preview2, i.e., in this month, and make sure that it causes no problem.
--
Yusuke Endoh <mame@tsg.ne.jp> - 10:31 AM Revision 0114fde8 (git): * test/ruby/test_rubyoptions.rb (test_usage, test_usage_long):
- reduced, renamed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:29 AM Feature #7314 (Assigned): Convert Proc to Lambda doesn't work in MRI
- Matz will require a use case, I guess.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:28 AM Feature #6993 (Closed): Class#allocate の仕様変更(Cレベル)
- Class#allocate は C レベルの set_trace_func でもフックできなくなったという非互換があります、
ということで preview2 を出してみて、文句が来たら reopen して考えましょう。
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:15 AM Feature #4569 (Closed): Replace IPAddr with IPAddress
- =begin
Marco and knu,
This issue is closed, right? Please reopen if there is still any issue.
--
Yusuke Endoh <mame@tsg.ne.jp>
=end
-
10:12 AM Feature #7240 (Feedback): Inheritable #included/#extended Hooks For Modules
-
10:11 AM Feature #7274 (Assigned): UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
-
10:09 AM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
- Nobu, did you?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:05 AM Feature #2255: unicode parameters cannot be passed to ruby
- Usa-san, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:03 AM Feature #1927: rb_w32_readdir seems to be superseded by rb_w32_readdir_with_enc
- Usa-san, is there any reason for the task to wait immediately before code freeze?
If there is no reason, and if you are willing to do the task for 2.0, please do so asap.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:00 AM Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
- ko1, what's the status?
Too many 2.0.0 tickets, especially big task ones, are assigned to ko1. ko1, please decide your priorities.
Welcome to volunteer for helping him.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:55 AM Feature #2674 (Closed): RubyVM::InstructionSequence to accept IOs
- 卜部さん、
これって r37339 で入ったということでいいですよね?
勝手に閉じますが間違ってたら適当にしてください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:51 AM Feature #7075 (Assigned): const_get でトップレベルの定数を参照する時に警告
- 私も matz に賛成です。
const_get のようなリフレクションは自分の足を撃つための裏道という認識です。
private constant も const_get なら読み出せるとか。
まだコミットされていないようですし、next minor にしときます。
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:44 AM Feature #6769: rbinstall.rb: install both src and batch files separetely
- Luis, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:41 AM Feature #6707: Remove checks for Ruby 1.9 in trunk
- These checks are benign.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:39 AM Feature #3731: Easier Embedding API for Ruby
- ko1, I think you are not divided yet.
This looks a big feature. I'm setting this to next minor.
Please try it if you have time after you finished other tasks.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:30 AM Feature #1586: Including a module already present in ancestors should not be ignored
- ko1, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:28 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
- Ko1, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:27 AM Bug #7190: warning: already initialized constant の書式
- バグ扱いで直しちゃってもいいんじゃないですかね。
Matz.
-
09:13 AM Bug #7190 (Assigned): warning: already initialized constant の書式
-
09:24 AM Feature #1952: cannot stop with Ctrl+C
- ささださん、現状を教えてください。
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:24 AM Feature #6946: FIPS support?
- Martin Bosslet, what's the status?
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:17 AM Feature #7132 (Assigned): Alternation between named / ordered method arguments and aliases for method arguments.
-
09:09 AM Feature #6611 (Assigned): Comments requested on implementation of set_parse_func
-
09:08 AM Feature #7181 (Assigned): New Methods On OpenSSL::OCSP::CertificateId
-
08:50 AM Feature #6648 (Assigned): Provide a standard API for retrieving all command-line flags passed to Ruby
- I'm sorry that matz didn't noticed this.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:47 AM Feature #7068: ability to deactivate Hash#compare_by_identity()
- Please make the proposal complete: your use case and the corner case behavior (Eric said).
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:45 AM Feature #5531: deep_value for dealing with nested hashes
- matz expressed a negative opinion for similar proposal (in Japanese, #5550)
The original in Japanese:
> Hashの本質はkey-valueのマッピングなので、valueが再帰的にHashであることを想定した(再帰的なHashでなければ役に立たない)メソッドを追加することには抵抗があります。
English translation:
> ...
... -
08:38 AM Feature #7082 (Assigned): Process.kill 0 in windows can return spurious success
-
08:36 AM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- matz, how do you feel about this ticket?
autoload should be marked as "deprecated" in 2.0.0?
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:43 AM Revision 757413f6 (git): Rvert r37827 and r37828
- Revert "Fix finalize of WeakRef"
This causes segv on rubyspec.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20121124T050101Z.log.html.gz
you can reproduce by
make test-rubyspec MSPECOPT='-V library/weakref'
git-svn-id: svn+ssh://ci.... -
06:32 AM Bug #7385: Compilation of Ruby should fail when libyaml is not present on system
- Then RubyGems should be automatically disabled or something. It is like if Ruby would segfaulted under some scenarios and you would say that it is okay, since you can use it for different tasks.
Actually, there could be for example --... -
01:18 AM Bug #7385 (Rejected): Compilation of Ruby should fail when libyaml is not present on system
- Even if gem command can't run, ruby itself can run.
-
04:12 AM Revision 9d803dfd (git): * vm_trace.c (rb_tracepoint_attr_raised_exception): should not check
- value before event checking.
* vm_trace.c (rb_tracepoint_attr_return_value): ditto.
* test/ruby/test_settracefunc.rb: add tests for TracePoint#return_value
and TracePoint#raised_exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
04:01 AM Revision 76cffcdb (git): Fix TestProcess#test_setsid
- * test/ruby/test_process.rb (TestProcess#test_setsid): "./ruby-trunk"
doesn't work on all environments. EnvUtil.rubybin would be suitable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 AM Revision 005986bd (git): Fix Segmentation fault at TestArray#test_aref
- * array.c (rb_ary_aref): fix Segmentation fault at TestArray#test_aref
on x64 mingw. Variable argument of rb_scan_args() should be a pointer
(VALUE *), but 0 of variable argument seems not equal to null pointer
on x64 mingw.
git-s... -
04:01 AM Revision 3fac4abc (git): wmap_finalize: refactoring to rename variables
- * gc.c (wmap_final_func): rename variables to clarify the meaning.
In wmap2obj the key is WeakRef and the value is referenced object.
In obj2wmap the key is referenced object and the value is an array
of WeakRef.
* gc.c (wmap_fina... -
04:01 AM Revision 82cac33e (git): Fix finalize of WeakRef
- * gc.c (wmap_final_func): remove WeakRef object reference from the
array.
* gc.c (wmap_finalize): remove recycled object references from weak
map hash properly. How to get object reference from object id was
wrong. st_delete() doe... -
02:51 AM Revision 5611df70 (git): * process.c (proc_getsid): adds new method for getting session id.
- Contributed from fumiyas (Fumiyasu SATOH). Thank you!
[Feature #6757] [ruby-dev:45977]
* configure.in: adds getsid check.
* test/ruby/test_process.rb (TestProcess#test_setsid): new test
for the above.
* NEWS: news for the above.
git... -
02:00 AM Revision 82b33551 (git): * thread.c (thread_create_core): don't use th->thread_id before
- initialized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:00 AM Bug #7423 (Closed): ruby_process_options() dereferences argv even if argc is zero
- This issue was solved with changeset r37823.
Graham, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ruby.c: argv check
* ruby.c (proc_options, process_options, ru... -
12:00 AM Feature #4946 (Closed): Building libruby-static.a with option nodynamic and --with-static-link-ext doesn't disable dlopen
- This issue was solved with changeset r37821.
Alex, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
configure.in: --disable-dln
* configure.in (--disable-dln): opti...
11/23/2012
-
11:44 PM Bug #7163 (Closed): Chomp problem in pkg_config of mkmf.rb (ruby 1.9.3 P286)
- This issue was solved with changeset r37820.
ray, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: mingw64+MSYS pkg-config fix
* lib/mkmf.rb (MakeMakefile#... -
07:28 PM Bug #7420: Writeable pipe and timeout tests are failing (MinGW)
- Thank you for the pointing out.
Since SystemCallError.=== matches by the errno values, so it works on platforms where they are just aliases, but EAGAIN and EWOULDBLOCK were actually different on Windows.
Should Errno::EAGAIN match an... -
11:54 AM Bug #7420: Writeable pipe and timeout tests are failing (MinGW)
- As I know, Errno::EWOULDBLOCK is not the same as Errno::EAGAIN on Windows.
Here is a patch:
diff --git a/test_io_wait.rb b/test_io_wait.rb.new
index 676809c..c322efd 100644
--- a/test_io_wait.rb
+++ b/test_io_wait.rb.new
@@ -101,... -
06:00 PM Bug #7184 (Closed): --disable-gems commandline parameter does not show up with ruby -h
-
06:00 PM Bug #7184: --disable-gems commandline parameter does not show up with ruby -h
- No rationale, no description but just failing test makes no sense.
File a ticket first. -
05:40 PM Bug #7184: --disable-gems commandline parameter does not show up with ruby -h
- fixed at r37818.
-
05:10 PM Bug #7184: --disable-gems commandline parameter does not show up with ruby -h
- i reverted your commit, not feature or bug.
you reverted a test.
matz wants to print -h in a page.
because, user can read summary without pager.
but, we can use more pages for --help even if we want to write more or all.
big pap... -
04:38 PM Bug #7184 (Open): --disable-gems commandline parameter does not show up with ruby -h
- tadf reverted this feature.
-
05:20 PM Bug #7422 (Closed): test_usage2(TestRubyOptions) test failure
-
12:25 PM Bug #7422: test_usage2(TestRubyOptions) test failure
- 80 column is de fact standard until today.
we should keep this convention if we want to use pre-formatted doc.
anyway, the current --help is very white, spaces are too much, ugly.
i'll revert the experimental. -
03:00 PM Revision b9163cc1 (git): ruby.c: argv check
- * ruby.c (proc_options, process_options, ruby_process_options): take
care of the case argc is 0, and check if argv has NULL.
[ruby-core:49889] [Bug #7423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37823 b2dd03c8-39d4-4d8f-9... - 03:00 PM Revision a20d306f (git): * 2012-11-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision f6761088 (git): configure.in: --disable-dln
- * configure.in (--disable-dln): option to disable dynamic linking
feature. [ruby-core:37676] [Feature #4946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Revision e54cd2bd (git): mkmf.rb: mingw64+MSYS pkg-config fix
- * lib/mkmf.rb (MakeMakefile#pkg_config): strip all white spaces for
mingw64+MSYS pkg-config which errouneously emits extra newlines.
[ruby-core:47998] [Bug #7163]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37820 b2dd03c8-39d... -
01:49 PM Revision 400d2d9d (git): mkrunnable.rb: static-linked-ext
- * tool/mkrunnable.rb: make archdir for static-linked-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:08 AM Bug #7425 (Closed): Execute a script by active record, the console is crash.
- On my rails application, I write a script like this:
Stakeholder.find_each do |stakeholder|
stakeholder.resource_name = 'aaa'
stakeholder.save!
end
Then the pry console is crash. I do the same code on rake task and find the ... -
10:47 AM Bug #7304: Random test failures around test_autoclose_true_closed_by_finalizer
- go ahead
-
10:46 AM Bug #6732 (Closed): documentation error in IPSocket#peeraddr
- This issue was solved with changeset r37812.
Joachim, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/ipsocket.c (IPSocket#peeraddr): Fix example
[ru... -
08:31 AM Revision 48df3458 (git): ruby.c: wrap descriptions
- * ruby.c (usage): wrap description lines if options are too long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:31 AM Revision 38a1bcb0 (git): * ruby.c, test/ruby/test_rubyoptions.rb: revert r37815:r37816.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:59 AM Feature #4085: Refinements and nested methods
- On 22.11.2012 17:40, headius (Charles Nutter) wrote:
> After lookup, call sites would know there's potentially refinements active for the given method. The calling scope (or parent scopes) would have references to individual refine... -
01:40 AM Feature #4085: Refinements and nested methods
- Escaping the "should we or shouldn't we" question for a bit, I thought of an alternative implementation, building off ko1's idea.
ko1's suggestion, as I understand it, was to add a flag to the method table (or method entry) of a refin... -
05:51 AM Feature #7424 (Closed): an embedded Ruby interpreter doesn't get the full Ruby environment unless it calls ruby_process_options() (which is not documented)
- The documented way to embed a Ruby interpreter is to call:
RUBY_INIT_STACK;
ruby_init();
ruby_init_loadpath();
However, this leaves the Ruby environment incomplete. As an example, the following program:
#include <r... -
05:39 AM Bug #7423 (Closed): ruby_process_options() dereferences argv even if argc is zero
- In ruby_process_options(), there is a line:
ruby_script(argv[0]); /* for the time being */
This dereferences argv whether argc is zero or not. This causes a SEGV if there are no command line args. It should be changed to somet... - 03:35 AM Revision 10cceae9 (git): * ruby.c: revert r37298.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:42 AM Bug #7405 (Closed): Rdoc for CGI#header alias
- This issue was solved with changeset r37811.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/core.rb: Documentation for CGI#header alias
Based o... -
02:18 AM Bug #7405: Rdoc for CGI#header alias
- Will you commit your version?
- 02:41 AM Revision d53204f9 (git): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2):
- revert the previous.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 AM Revision 0d280f3d (git): test_rubyoptions.rb: refine assertion
- * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2): refine
assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 AM Revision d03ed07e (git): test_rubyoptions.rb: --help
- * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_usage2): now
--help option is for modern terminals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:09 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- > I believe that in mathematical language `-2·3` is parsed `(-(2·3))`,
> ...
Exactly, you *believe*, I do believe differently (namely that there is no general agreement on the precedence because it has no consequences in mathematics).
... -
12:32 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- stomar (Marcus Stollsteimer) wrote:
> I refute your primary supposition. In the mathematical expression -2·3, the unary `-' can be interpreted both as a multiplication, (-1)·2·3, and as subtraction, 0 - 2·3. Both interpretations are e... -
01:46 AM Revision d2ddd30a (git): * ext/socket/ipsocket.c (IPSocket#peeraddr): Fix example
- [ruby-core:46429] [Bug #6732]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/22/2012
-
11:55 PM Bug #7383 (Closed): Use stricter cache check in load.c - This issue was solved with changeset r37808.
Yura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Fix cache validity check of require
* array.c (rb_ary_shared_wit... -
11:54 PM Bug #7383: Use stricter cache check in load.c
- On Thu, Nov 22, 2012 at 6:09 PM, Юрий Соколов <funny.falcon@gmail.com> wrote:
> Adding size check is enough in this case.
> But rb_ary_dup_of_p is more useful in the wild, I think.
>
OK. Then I'll apply my patch for now. If real i... -
06:23 PM Bug #7383: Use stricter cache check in load.c
- Hiroshi,
Adding size check is enough in this case.
But rb_ary_dup_of_p is more useful in the wild, I think.
With regards,
Yura
2012/11/19 h.shirosaki (Hiroshi Shirosaki) <h.shirosaki@gmail.com>
>
> Issue #7383 ... -
11:30 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- @alexeymuranov: I understood that you were talking about parsing.
I refute your primary supposition. In the mathematical expression -2·3, the unary `-' can be interpreted both as a multiplication, (-1)·2·3, and as subtraction, 0 - 2·3... -
09:33 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- I have come to the opposite opinion. I do not think Ruby must reflect mathematical notation exactly. If you think about it, mathematical notations can be somewhat loose, a bit more like natural language rather then a rigorous syntax. The...
-
09:15 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- I would propose the following experiment to evaluate which parsing would be less surprising to a new Ruby user :).
Take 10 new Ruby users who do not know about this discussion and ask them to insert parentheses into the following arit... -
06:08 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- stomar (Marcus Stollsteimer) wrote:
> 1. Changing the precedence of `**' and unary `-' would affect the results and is in discrepancy with mathematical rules.
There are already discrepancies with mathematical rules, like allowing `2 * ... -
04:17 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- > Well, when the wrong syntax is already present (`- a * b` is `(- a) * b`)
> ...
1. Changing the precedence of `**' and unary `-' would affect the results and is in discrepancy with mathematical rules.
2. Changing the precedence of `*... -
07:50 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- stomar (Marcus Stollsteimer) wrote:
> Generally, adding "wrong" syntax just for consistency is IMO no option.
> ...
Well, when the wrong syntax is already present (`- a * b` is `(- a) * b`) i do not think #7328 would make the syntax as... -
07:15 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- Generally, adding "wrong" syntax just for consistency is IMO no option.
But, looking over the thread again, I don't see your problem in the first place:
- 2 * 3 means (-1) * 2 * 3 = (- 2) * 3 = - (2 * 3), which all results in -6, so ... -
02:29 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- @stomar, as mathematical parsing rules are not and apparently will not be observed in Ruby, i do not understand very well your point of view.
Either a programmer/user knows the operation precedence is Ruby, or not. Unless you want to en... -
01:20 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- No, absolutely not! Such a change would certainly have a bigger impact than I could imagine.
I just wanted to make a point for not deviating further from mathematical rules by changing -2**2 to result in 4. -
11:28 PM Bug #7422: test_usage2(TestRubyOptions) test failure
- ruby's --help is broken.
should be length of each line is at most 80 even if --help.
the current one is ugly. -
10:59 PM Bug #7422 (Closed): test_usage2(TestRubyOptions) test failure
- =begin
It seems that rev37805 breaks test suite for me:
test_usage2(TestRubyOptions) [/builddir/build/BUILD/ruby-2.0.0-r37807/test/ruby/test_rubyoptions.rb:41]:
Expected 95 to be <= 80.
=end
-
09:07 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> headius (Charles Nutter) wrote:
> ...
I wonder if refinements could be included as a "hidden" feature, similar to tail-call optimization? I suspect that even if refinements were included in Ruby 2.0 it woul... -
02:56 PM Feature #4085: Refinements and nested methods
- headius (Charles Nutter) wrote:
> I would also vote to remove refinements from 2.0 features, perhaps for reinclusion in 2.1. The various points made about lack of clear specification, lack of time to experiment, lack of clarity on the e... -
02:40 PM Feature #4085: Refinements and nested methods
- The8472 (Aaron G) wrote:
> On 21.11.2012 07:15, shugo (Shugo Maeda) wrote:
> ...
The above code cannot activate refinements in the caller context.
That is, a NoMethodError is raised in the following example:
module FooExt
refine... -
08:23 AM Feature #4085: Refinements and nested methods
- On 21.11.2012 07:15, shugo (Shugo Maeda) wrote:
> I'll remove it if permission granted by Matz.
>
>> For now people can use Module.extended/.included if they really want to
>> add refinement inheritance themselves.
>
> C... -
06:07 AM Feature #4085: Refinements and nested methods
- Here is a trivial benchmark of refined versus unrefined calls in JRuby and MRI trunk. Note that this is only running in JRuby's interpreter, but performance is roughly equivalent between refined and unrefined. I will note again that refi...
-
05:47 AM Feature #4085: Refinements and nested methods
- Sorry, I meant "I still vote to delay adding refinements until after 2.0."
-
05:46 AM Feature #4085: Refinements and nested methods
- I would also vote to remove refinements from 2.0 features, perhaps for reinclusion in 2.1. The various points made about lack of clear specification, lack of time to experiment, lack of clarity on the extent of damage/risk, and lack of t...
-
04:57 AM Feature #4085: Refinements and nested methods
- Please remove Refinements completely from Ruby 2.0 features. They are not well defined, well understood, or well justified.
There are many arguments both for and against. However, the most compelling argument against is that we cannot... -
06:21 PM Feature #6962: Use lighter hash structure for methods table, instance variable positions, constants
- I've updated patch to latest ruby_1_9_3.
Url is the same:
https://github.com/funny-falcon/ruby/compare/ruby_1_9_3...sparse_array/ruby_1_9_3 -
06:16 PM Bug #7421 (Closed): Build failure of snapshot with VC 2010
- This issue was solved with changeset r37802.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake m... -
10:29 AM Bug #7421 (Closed): Build failure of snapshot with VC 2010
- I get the following failure with VC 2010 while building snapshot(trunk@37790).
C:\work\snapshot>win32\configure.bat
Creating Makefile.new
"type `nmake' to make ruby."
C:\work\snapshot>nmake
Microsoft(R) Program Maintenance Uti... -
05:50 PM Feature #4801: Shorthand Hash Syntax for Strings
- matz (Yukihiro Matsumoto) wrote:
> Besides that, we have already tried making Symbols a subclass of String, or making Symbols behave like Strings, and it didn't work out.
Do you remember why it didn't work out to have Symbols behave... -
05:42 PM Revision ed7d7763 (git): * lib/cgi/core.rb: Documentation for CGI#header alias
- Based on a patch by Marcus Stollsteimer
[ruby-core:49585] [Bug #7405]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:01 PM Bug #7370 (Closed): Some benchmarks are slow
- This issue was solved with changeset r37798.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Makefile.in: run preprocessor when making probe.h
* probes.... -
03:38 PM Bug #7370 (Assigned): Some benchmarks are slow
-
03:28 PM Bug #7370 (Closed): Some benchmarks are slow
- This issue was solved with changeset r37796.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.h: partly revert r37631 (DTrace support).
"... -
03:51 PM Feature #7418: Kernel#used_refinements
- +1 since I gave Charlie the idea :)
-
01:23 PM Feature #7418 (Assigned): Kernel#used_refinements
- judofyr (Magnus Holm) wrote:
> Maybe it should be called Module.refinements (a la Module.nesting).
Module.refinements conflicts with Module#refinements, which returns refinements defined in the receiver.
- 03:04 PM Revision 7bfb6b2b (git): * 2012-11-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 PM Revision 66db637a (git): * gc.c (is_swept_object): extract from is_dead_object().
- * gc.c (rb_gcdebug_print_obj_condition): add the function for debug.
This function shows some conditions of given object (e.g.,
marked, in heap, swept).
* gc.c (rb_gcdebug_sentinel): add the function for debug.
This function allow... -
02:55 PM Revision 97ecab7b (git): Fix cache validity check of require
- * array.c (rb_ary_shared_with_p): fix cache validity check.
If #pop or #shift has been called against $: or $", the array will
be still shared with the snapshot. We check array length for cache
validity.
[ruby-core:49518] [Bug #7... -
01:37 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- trans (Thomas Sawyer) wrote:
> @duerst
> ...
Can you explain? The fact that I'm not interested in wasting time shopping around doesn't mean that others won't do that if they meet problems with the current ones in the standard library o... -
10:25 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- What made this thread long was the request to deprecate optparse, I think. No one is arguing about its lacking documents, being non-intuitive, being not cool modern sexy urbane taste, and so on. And no one is arguing that other libs (l...
-
09:53 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- > ...rather than try to lock Ruby further into a "one right way".
Use an existing alternative or roll your own if you don't like ruby's (needed) baseline impl. The situation is not even remotely close to lock-in.
This discussion sm... -
03:11 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- @shyouhei
> I don't like this shit let's just remove" doesn't sound productive to me.
No one said that.
> ...
Hmmm... seems to me I tried that once. It was rejected. Unfortunately it was so long ago now I can't find anything ab... -
02:52 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- @duerst
>I agree with Rodrigo. If I have to use an option parser, I don't want to
> ...
You just contradicted yourself.
And your first argument is exactly the problem with Ruby rubber stamping an official option parser.
> Are... -
01:53 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- On Wed, Nov 21, 2012 at 5:16 PM, Zachary Scott <zachary@zacharyscott.net> wrote:
> optparse is used by many programs, including other stdlib gems.
>
> In my opinion, it would be best to keep backwards compatibility.
>
> Why cr... -
01:23 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- optparse is used by many programs, including other stdlib gems.
In my opinion, it would be best to keep backwards compatibility.
Why create a new gem, instead of improving the current standard library? -
12:48 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- Shyouhei, what if we create a separate mailing list to discuss and propose a new gem to replace optparser? The idea would be to invite designers and users of the current optparser alternatives (slop, clap, thor, etc) and try to come up w...
-
01:00 PM Revision ff6c5070 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:49 PM Revision f317a156 (git): * common.mk, win32/Makefile.sub (probes.dmyh): now be made in current
- (=build) directory if build from the repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:36 PM Revision b4f25e30 (git): * test/ruby/test_rubyoptions.rb: added a test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:32 AM Revision d6ec4001 (git): * complex.c (string_to_c_strict, string_to_c): check NUL.
- * rational.c (string_to_r_strict, string_to_r): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:25 AM Revision 84a57715 (git): * Makefile.in (.dmyh.h): removed $(VPATH). GNU make don't
- recognize suffix rule with VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:16 AM Revision 8e8d7bb7 (git): * common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake merges
- explicit rules for same target, but not merges exlicit rules and
implicit rules -- always explict rules win. So, need to add an
explist rule for probes.h.
reported by Heesob Park at [Bug #7421] [ruby-core:49839]
git-svn-id: svn+... -
09:03 AM Revision 1dec7384 (git): * Makefile.in (probes.o): add -C to ignore #include in probes.d.
- * probes.d: include vm_opts.h instead of vm_core.h.
* vm_opts.h (VM_COLLECT_USAGE_DETAILS): move definition from vm_core.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:47 AM Revision 59c41661 (git): * ext/nkf/nkf-utf8: Merge b0a6577a521d1bba5e19853f95d5c4b9be1072b5.
- Support JIS X 0213 and some bugfixes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 AM Revision 86541e02 (git): * tool/gen_dummy_probes.rb: don't change #include, #if and #endif
- lines. [Bug #7370]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Bug #7419 (Closed): GC.clear is not defined (test error)
- This issue was solved with changeset r37791.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_gc.rb (test_profiler_clear): fix wrong method
... -
05:42 AM Bug #7419 (Closed): GC.clear is not defined (test error)
- =begin
In r37783 a new test was added, but such test is failing on our Windows CI:
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/246/console
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/346/console
test_prof... -
08:01 AM Revision 4d7e8b73 (git): * Makefile.in: run preprocessor when making probe.h
- * probes.d: define probe insn and insn__operand only when
VM_COLLECT_USAGE_DETAILS is 1. [Bug #7370]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Revision 82e7d003 (git): * vm.c: Don't define vm_collect_usage_operand() and
- static void vm_collect_usage_insn() when disabling
VM_COLLECT_USAGE_DETAILS. (refix r37796)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:47 AM Bug #6090: ruby-mode.el font-lock fails with some interpolated strings
- Fixed in Emacs trunk.
-
06:28 AM Revision 4ba69a41 (git): * vm_insnhelper.h: partly revert r37631 (DTrace support).
- "vm usage information is always collected, so uncomment the
functions." causes performance impact. [Bug #7370]
Off course this revert disables related probes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37796 b2dd03c8-39d4-4d8... - 05:54 AM Revision d5d2440e (git): Drop executable bits of files that are not executable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:47 AM Bug #7420 (Closed): Writeable pipe and timeout tests are failing (MinGW)
- =begin
The tests added in r37785, associated with Feature #4646 might require a guard against Windows because are failing in the Windows CI:
http://ci.rubyinstaller.org/job/ruby-trunk-x64-test-all/246/console
http://ci.rubyinstall... - 05:32 AM Revision 81632542 (git): Drop executable bits.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:23 AM Revision 61e21e82 (git): Apply performance improvement to short byte array search.
- * re.c (rb_memsearch_ss): Apply performance improvement to short
byte array search for platforms without memmem(3).
[Feature #6311] [ruby-dev:45530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37793 b2dd03c8-39d4-4d8f-98ff-823... - 05:02 AM Revision 9cbaeed6 (git): Add some corner cases to tests for String#index.
- * test/ruby/test_string.rb (TestString#test_index): Add some
corner cases to tests for String#index, which might fail if ruby
directly used a buggy memmem(3) implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37792 b2... -
02:36 AM Feature #7336: Flexiable OPerator Precedence
- trans (Thomas Sawyer) wrote:
> @nobu LOL! I would if I could! Actually, I've thought more than once that progress in keyboard input totally stagnated in the late 80s. Why can't we type superscripts and subscripts and make good use of it... -
01:36 AM Feature #7336: Flexiable OPerator Precedence
- =begin
@judofyr As Alexey pointed out that was a mistake on my part. Yes, it should be:
10.meters**2 => 100m^2
@nobu LOL! I would if I could! Actually, I've thought more than once that progress in keyboard input totally stagnat... -
01:29 AM Feature #7336: Flexiable OPerator Precedence
- On Tue, Nov 13, 2012 at 3:25 PM, trans (Thomas Sawyer)
<transfire@gmail.com> wrote:
>
> Issue #7336 has been updated by trans (Thomas Sawyer).
>
>
> "you can always use parentheses if needed"
>
> Unfortunately it is very...
11/21/2012
-
11:58 PM Feature #7336: Flexiable OPerator Precedence
- Why don't you define meter² method? ;)
-
11:50 PM Feature #3450: Format Strings with Named Arguments & Hash#default
- I think this is a trade-off.
Silently ignoring undefined keys may not preferable for somebody.
I don't think differentiating simple default value and default proc is good idea. -
11:09 PM Revision cda3a0c7 (git): * test/ruby/test_gc.rb (test_profiler_clear): fix wrong method
- calls [Bug #7419] [ruby-core:49828].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:53 PM Feature #7418: Kernel#used_refinements
- Maybe it should be called Module.refinements (a la Module.nesting).
// Magnus Holm
On Wed, Nov 21, 2012 at 12:16 PM, charliesome (Charlie Somerville)
<charlie@charliesomerville.com> wrote:
>
> Issue #7418 has been reported by... -
08:16 PM Feature #7418 (Closed): Kernel#used_refinements - I'd like to propose a method that returns an array of all refinements visible from the current scope. I have documented the ordering of the return array as undefined to allow a bit of flexibility in how it is implemented across the vario...
-
10:51 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- @stomar, do i understand correctly that you insist on reopening this feature request?
I wouldn't mind it too, but apparently some people prefer to be able to write `-2 * -2` instead of the proper way `(-2) * (-2)`. -
10:04 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- =begin
This has no relevance to the issue, but I think your point of view is wrong. :-)
You should do it the "mathematical" way not only for people with mathematical background but even more so for "normal" people.
My common sense as a ... -
10:40 PM Feature #4085: Refinements and nested methods
- @shugo Thanks you for answering. I'm still trying to fully understand refinements so it helps to hear some explanation. That the alias is not refined seems maybe a little confusing, since alias effectively copies the method to the curren...
-
06:58 PM Feature #4085: Refinements and nested methods
- My personal opinion is that at this point in time, there are too many uncertainties surrounding refinements, and so it is too early to include them. I would therefore support "3. remove all features of Refinements", of course putting the...
-
03:15 PM Feature #4085: Refinements and nested methods
- The8472 (Aaron G) wrote:
> Therefore I think that class inheritance should be removed. And if it
> ...
I'll remove it if permission granted by Matz.
> For now people can use Module.extended/.included if they really want to
> ..... -
02:48 PM Feature #4085: Refinements and nested methods
- trans (Thomas Sawyer) wrote:
> Since you did say `nil`, then what about:
(snip)
> ...
false. Because bar in C#foobar? is refined by R, but bar in C#foobar!, which is an alias of S#foobar, is not refined.
> C.new.brainfart2 ... -
08:23 AM Feature #4085: Refinements and nested methods
- On 20.11.2012 03:45, shugo (Shugo Maeda) wrote:
> I think optional features of Refinements are as follows:
>
> A. refinement inheritance in class hierarchies
I generally think that class/module inheritance is the wrong propag... -
10:40 PM Feature #4646 (Closed): [PATCH] io/wait: add IO#wait_writable method
- This issue was solved with changeset r37785.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
io/wait: add IO#wait_writable method
* ext/io/wait/wait.c (io_wa... -
10:12 PM Feature #7377: #indetical? as an alias for #equal?
- "and calling `SomeActiveRecordModel.first` twice will not give you the same object even if they share the same `id`"
That's not the id we mean. In Ruby every object has a unique id.
x = "foo"
x.object_id #=> 17086140
So to... -
05:42 PM Feature #7377: #indetical? as an alias for #equal? - Marc, sorry to break it to you, but "identical twins" is misuse of the word identical, something like "dictatorial democracy" :)
-
01:20 PM Feature #7377: #indetical? as an alias for #equal?
- trans (Thomas Sawyer) wrote:
> =begin
> ...
Identical twins are not the same person (i.e. not the same object), and calling `SomeActiveRecordModel.first` twice will not give you the same object even if they share the same `id` and valu... -
05:40 AM Feature #7377: #indetical? as an alias for #equal?
- =begin
The reason for the word "identical" is b/c of the root "id" which corresponds to the fact that the id's are the same. They would not be identical if the id's were not the same. So yes, "exactly alike" is precise. Only the identic... -
05:09 AM Feature #7377: #indetical? as an alias for #equal?
- #same_object? would also be ok by me.
-
10:06 PM Feature #5677: IO C API
- =begin
The target of the project I am working on is to provide an easy way to write a IO-compatible class in Ruby.
The project does not aim to achieve high performance. So what Martin wants sounds little different from my project.
((<U... -
05:24 PM Feature #5677: IO C API
- I heard yugui is planning (or something) such an abstract implementation before.
How's going? > yugui -
11:24 AM Feature #5677: IO C API
- In hindsight, my major concern with current IO C API is the impossibility to optimize something for StringIO. Since StringIO is not part of core, a C extension must typically fall back to calling methods of the Ruby IO API, which is not ...
-
07:54 PM Bug #7342: String#<=> checks for a #to_str method on other but never uses it?
- > The presence of #to_str indicates that the object obeys an entire String contract such that the C API can work with the object without making Ruby method calls.
Hmm... I was always under the impression that the distinction between #... - 05:26 PM Revision 4c6a4114 (git): * 2012-11-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:25 PM Revision 9c8a54c5 (git): * NEWS: edited (order etc).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:59 PM Feature #3356: Add GetShortPathName to ruby
- Hello,
In message "[ruby-core:49766] [ruby-trunk - Feature #3356] Add GetShortPathName to ruby"
on Nov.21,2012 00:17:14, <luislavena@gmail.com> wrote:
> Shortname version of a filename is not canonical, is just one of many ... -
12:17 AM Feature #3356: Add GetShortPathName to ruby
- Hello,
AFAIK shortnames might not be available on some NTFS volumes, under some circumstances I found is off for performance.
Shortname version of a filename is not canonical, is just one of many representations of a file in the fi... -
04:00 PM Bug #7416 (Closed): test-all crashes with mysterious message
- nmake test-all TESTS=-vj5 を実行していると、以下のようなメッセージが出て
テスト自体が中断されてしまいました。
(前略)
TestSetTraceFunc#test_return = 0.02 s = .
C:/Users/usa/ruby/lib/test/unit/parallel.rb:147:in `ensure in run': undefined local variable or method `local_v... -
02:37 PM Revision 79fab011 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:54 PM Revision 29d62610 (git): property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:53 PM Revision 45faa57b (git): wait.c: wait_readable
- * ext/io/wait/wait.c (io_wait_readable): add alias wait_readable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:40 PM Revision e786aa71 (git): io/wait: add IO#wait_writable method
- * ext/io/wait/wait.c (io_wait_writable): this is easier to use than
IO.select for a single IO object and is immune to the
limitations/innefficiency of select() on platforms where poll/ppoll
is available. patched by Eric Wong. [Fe... -
01:31 PM Revision 7d0cabb8 (git): * gc.c (garbage_collect): remove a duplicative probe.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:25 PM Bug #6203 (Closed): Array#values_at does not handle ranges with end index past the end of the array
- Great, thanks.
NEWS updated. -
01:15 PM Revision fe9fc6df (git): * gc.c (gc_profile_clear): realloc profile records if its size is
- higher than the threshold, GC_PROFILE_RECORD_DEFAULT_SIZE * 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:54 PM Revision 4d03af3d (git): * complex.c (nucomp_to_c): added.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:53 PM Feature #6047: read_all: Grow buffer exponentially in generic case
- Martin Bosslet <Martin.Bosslet@googlemail.com> wrote:
> In the general case, read_all grows its buffer linearly by just the
> amount that is currently read from the underlying source. This results
> in a linear number of reallocs,... -
11:49 AM Feature #6047: read_all: Grow buffer exponentially in generic case
- ko1 (Koichi Sasada) wrote:
> ping. status?
> ...
Thanks for your help, to be honest, I haven't tried so far. Can we leave it at 2.0.0 target for now? If I run into problems, I'll ask here!
- 12:42 PM Revision c07d2952 (git): * include/ruby/util.h: removed extra semicolon in definition of
- macro.
* compile.c: ditto.
* cont.c: ditto.
* math.c: ditto.
* node.c: ditto.
* parse.y: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:43 AM Feature #5741: Secure Erasure of Passwords
- FWIW, this feature is going to be an integral part of "binyo" (https://github.com/krypt/binyo).
-
11:41 AM Feature #4183: [ext/openssl] Timestamp support
- Given the short time until 2.0.0, I believe "next minor" is a more realistic target.
-
11:30 AM Feature #6256: Slightly improve ruby_qsort performance
- It's a tiny bit faster. But it should be noticeably faster. I need to get into the details of the current qsort implementation and do some tests/calculations in order to really know where to optimize appropriately. OK if I bump to "next ...
-
11:02 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
- mame (Yusuke Endoh) wrote:
> Emboss and NaHi, ping?
> ...
If nahi agrees, I would say "close" since no feedback arrived in the meantime?
-
10:58 AM Feature #7400: Incorporate OpenSSL tests from JRuby.
- zzak (Zachary Scott) wrote:
> =begin
> ...
Thank you, I really like and appreciate the idea.
> ((*Some caveats:*))
> ...
OK, I will run the tests on my machine and publish the report here. We could discuss our next actions based on... -
10:57 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- "I don't like this shit let's just remove" doesn't sound productive to me. Is it hard to make it better instead?
-
10:00 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- trans (Thomas Sawyer) wrote:
> But in any case, "cannot" is a rather strong term. It would take a little work, but they could be adapted.
Are you ready to provide a patch?
-
09:53 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- I agree with Rodrigo. If I have to use an option parser, I don't want to
waste time shopping around.
Also, if no option parser outside optparse gets significant traction
outside the Ruby standard library, this means that none of ... -
05:59 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- Not so sure RDoc should be a standard library either. But in any case, "cannot" is a rather strong term. It would take a little work, but they could be adapted. Lord knows RubyGems' command code is almost a framework in itself anyway.
-
04:09 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- RDoc and RubyGems both depend on OptionParser so it cannot be removed.
-
12:16 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- =begin
@rosenfeld It's not? Maybe a little. But one can always parse ARGV by hand for simple shell scripts. It's not that hard. In fact, a simple helper makes it pretty easy.
def ARGV.option(opt)
if i = ARGV.index(opt)
... -
10:23 AM Feature #7375: embedding libyaml in psych for Ruby 2.0 - On Tue, Nov 20, 2012 at 02:58:58PM +0900, matz (Yukihiro Matsumoto) wrote:
>
> Issue #7375 has been updated by matz (Yukihiro Matsumoto).
>
>
> My only concern for bundling third party library is that leaving behind unmaint... - 09:48 AM Revision 1ac4e6d2 (git): * rational.c (read_digits): due to a bit tighter rb_cstr_to_inum().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:07 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- mame sorry again for the delay. lots of stuff going on IRL.
I am back to setting L597 in ruby-1.9.3-p286/lib/ruby/1.9.1/mkmf.rb to
return Integer(f.gets)
and attempted a reinstall of kgio v2.7.4 and it works just fine. I was a... -
07:36 AM Revision 15648bfd (git): add a ML number
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:16 AM Revision 9d8c6adc (git): add a description on ChangeLog
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:15 AM Revision c13f8347 (git): * benchmark/bm_so_nsieve_bits.rb: add an encoding pragma.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:09 AM Revision 5821c751 (git): revert r37710, requested by Tadayoshi Funaba [ruby-dev:46575]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:25 AM Feature #4233: autoload Can't Require Gems
- =begin
If I'm reading load.c correctly, autoload_provided() uses rb_feature_provided() which checks $LOAD_PATH only. This will cause autoload to fail if the gem has not been activated yet.
If autoload's specification only allows auto... - 04:23 AM Revision 165da0da (git): * range.c (rb_range_beg_len): Fix potential bug for limit case [#6203]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 AM Feature #7414: Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
- I realise defined? with a constant works just as well but this is about API consistency.
I'd expect const_get & const_defined? to support the same syntax ("Object::Foo"). -
01:06 AM Feature #7414 (Closed): Now that const_get supports "Foo::Bar" syntax, so should const_defined?.
- class Foo
end
Object.const_get "Object::Foo" => Foo
Object.const_defined? "Object::Foo" => NameError (expected true). -
02:31 AM Bug #7413 (Rejected): make check returns weird error code
- Weird. I was able to build r37773 without issues. Closing this issue. Hopefully, that was just some flux.
-
12:22 AM Bug #7413 (Rejected): make check returns weird error code
- =begin
The return code should be 0 IMO, since there seems to be nothing wrong, but it is not:
$ make check 'TESTS=-v -x test_m17n_comb.rb -x test_rake_functional.rb'
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O2 -... -
01:58 AM Feature #3697 (Closed): [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (for 1.9.2_rc2)
- Hmm..
This patch seems too old and can't apply cleanly anymore. I closed this ticket at once. Feel free to reopen if anyone make a new patch.
-
01:03 AM Bug #5530 (Closed): SEEK_SET malfunctions when used with 'append' File.open mode
-
01:03 AM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- Hi Zachary,
thanks. I've commited your patch at r37774 too.
-
12:30 AM Bug #7312 (Closed): test_str_crypt(TestM17NComb) fails
- This issue was solved with changeset r37773.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to ge... -
12:17 AM Feature #6440 (Closed): 引数にIOを渡した場合のMarshal.loadにバッファを持たせたい - This issue was solved with changeset r37772.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* marshal.c: add marshal readahead. marshalized Array, Hash and...
11/20/2012
-
11:53 PM Feature #4085: Refinements and nested methods
- > This should return nil. Otherwise, refinements can break code which
doesn't expect the refined behavior.
Ok. Makes sense.
> I don't understand why it's worse.
Only worse in that case if you had not said `nil`.
S... -
11:51 PM Feature #4085: Refinements and nested methods
- =begin
> This should return nil. Otherwise, refinements can break code which doesn't expect the refined behavior.
Ok. Makes sense.
> ...
Only worse in that case if you had not said `nil`.
Since you did say `nil`, then what ab... -
11:36 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> ...Without module_eval and refinement inheritance in class hierarchies, refinements don't decrease readability so much, because using is used in a file you're reading, except when a module is reopened, in ... -
10:32 PM Feature #4085: Refinements and nested methods
- rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> Then, the real question is: what is most important? Powerful or readability/performance? We can't get both with this feature.
I proposed Refinements for power. Refinements are more powerf... -
08:24 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> Some people seem to suspect that code using refinements is difficult to debug, but reflection APIs may be useful to debug such code.
I don't think the big problem is debugging, but readability. This is my... -
02:52 PM Feature #4085: Refinements and nested methods
- trans (Thomas Sawyer) wrote:
> f.safe_send(:foo) # => ?
This should return nil. Otherwise, refinements can break code which doesn't expect the refined behavior.
> ...
I don't understand why it's worse.
-
02:48 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> Application programmers should not use Refinements.
I meant that application programmers should not use Module#refine.
It's OK to use Kernel#using and Module#using.
-
01:40 PM Feature #4085: Refinements and nested methods
- =begin
So...
class Foo
end
module FooExt
refine Foo do
def foo
puts "foo"
end
end
end
module Kernel
def safe_call(f, m)
if f.respond_to? m
return f.send(:m)
end
nil
... -
11:45 AM Feature #4085: Refinements and nested methods
- Thanks for your feedback, Charles and others.
I understand your worries.
The feature set of Ruby 2.0 has already been frozen, so it's impossible to introduce a completely different feature in Ruby 2.0. So we have only the following ... -
11:53 PM Feature #5053: ruby コマンドと libruby の食い違いチェック
- (12/11/20 23:18), mame (Yusuke Endoh) wrote:
> なかださん、いかがお過ごしでしょうか
いい具合でゴキゲンですが、[ruby-dev:45898]でも書いたように解決の方針がそもそも明後日ではないかと思います。
--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦 -
11:49 PM Feature #5053 (Rejected): ruby コマンドと libruby の食い違いチェック
2012年11月20日 23:30 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> (12/11/20 23:18), mame (Yusuke Endoh) wrote:
> ...
一任されたなかださんがその意見なら、このチケットは rejected でよろしいかと思います。
--
Yusuke Endoh <mame@tsg.ne.jp>
-
11:18 PM Feature #5053 (Assigned): ruby コマンドと libruby の食い違いチェック
- なかださん、いかがお過ごしでしょうか
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:46 PM Bug #7312: test_str_crypt(TestM17NComb) fails
- naruse (Yui NARUSE) wrote:
> For (1), I cannot find suitable way.
> ...
This should work. -
10:14 PM Bug #7312: test_str_crypt(TestM17NComb) fails
- vo.x (Vit Ondruch) wrote:
> The fix does not fully work. There are at lease three issues:
> ...
I fix (2) and (3) at r37766.
For (1), I cannot find suitable way.
Could you make a patch? -
09:45 PM Bug #7312 (Open): test_str_crypt(TestM17NComb) fails
- =begin
The fix does not fully work. There are at lease three issues:
(1) It does not work on 64b system, since libc is located in /usr/lib64
(2) The glibcver <=> [2, 16] compares array of strings with array of integers, which return... -
11:40 PM Feature #4801 (Rejected): Shorthand Hash Syntax for Strings
- The discussion has gone away in the wind without making any consensus.
So I marked this 'rejected'. My point is clearly stated in the first comment.
Besides that, we have already tried making Symbols a subclass of String, or making S... -
11:31 PM Feature #6802 (Assigned): String#scan should have equivalent yielding MatchData
-
11:30 PM Feature #6847 (Rejected): Hash#extract
- Use Hash#select which now returns an hash.
Matz.
-
11:23 PM Feature #6847 (Assigned): Hash#extract
-
11:28 PM Feature #7022 (Assigned): add event hook for garbage collection
-
11:27 PM Feature #6962 (Assigned): Use lighter hash structure for methods table, instance variable positions, constants
- ko1 or nobu, please check this (towards next minor).
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:24 PM Feature #6857 (Assigned): bigdecimal/math BigMath.E/BigMath.exp R. P. Feynman inspired optimization
-
11:23 PM Feature #6844 (Rejected): Random.rand() requires pre-seeding in forked process
- Likely to be a request based on old version or misconception. No feedback. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:18 PM Feature #5394 (Rejected): Anonymous Symbols, Anonymous Methods
- I refuse to add new syntax described in the proposal.
And I think refinement will do the task the OP intended by anon symbols.
So I mark this 'rejected'. Feel free to reopen it.
But I expect you to persuade me.
Matz.
-
11:12 PM Feature #6483 (Rejected): parametric map
- I reject the original idea of #pmap which might be read as 'parallel map' or 'parametric map' or something else.
The idea of adding parameter to block with argument specified e.g. a.map(&:to_s.(2)) is interesting,
but it must be propos... -
11:07 PM Feature #3688 (Rejected): redef keyword for method redefinition in Ruby 2.0
- To eliminate alias_method_chain, we introduced Module#prepend.
There's no chance to add redundant feature in the language.
Matz.
-
11:06 PM Feature #4233: autoload Can't Require Gems
- Is this really a feature request? Looks a (low-priority?) bug to me.
drbrain, what do you think about this?
--
Yusuke Endoh <mame@tsg.ne.jp> -
11:04 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- Thomas, I like the idea but there is a shortcoming to this approach when people are using Ruby for performing shell scripting, like sysadmin scripts. It is not fair to force them to install any gem for some common task like this...
-
09:47 PM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
- I actually think it would be better to remove the option parser libraries from Ruby's stdlib alltogther. There are a number of really good option parser gems out there, but they get little use b/c developers tend to "play it safe" and us...
-
11:04 PM Feature #5856 (Rejected): Feature: Raise any object
- If we allow raising non Exception object, the library authors will catch Object (or even BasicObject), and this time we will have no work around. So, it's matter of disciplined exception raising/handling. As non-local exit not to be han...
-
11:00 PM Feature #6875: Make test/unit default gem
- Sorry for my late response...
vo.x (Vit Ondruch) wrote:
> kou (Kouhei Sutou) wrote:
> ...
Thanks for your agreement.
I'll comment on only test-unit.gemspec things.
> You have a view of Ruby developer. Ruby developer is used to u... -
10:55 PM Feature #6513 (Rejected): Make method_missing to lookup in constants too
-
10:54 PM Feature #3447 (Assigned): argument delegation
- shyouhei (Shyouhei Urabe) wrote:
> * このスレッドの現状をどなたか教えていただけませんか。
matz の最終的な go ahead 待ちだと思いますが、2.0.0 の feature deadline は過ぎたので next minor に。
> ...
「この記法」は matz の元提案の話?それとも `&` の話?
後者だとしたら、
~~~ruby
def foo; ... yield ... end
... -
10:49 PM Feature #4772 (Rejected): Hash#add_keys
- As far as I understand, the OP intention was to generate key/default-value pair explicitly.
But I don't see any real world use case. The value will be generated anyway.
If he wants to cache the value, the name #add_keys does not descri... -
10:39 PM Feature #5458: DL should be removed
- Aaron, did you add a warning?
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:36 PM Feature #4865 (Rejected): Documentation of FileUtils is very unclear on how errors are handled
- No feedback.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:33 PM Feature #6260 (Rejected): Relationship of collating sequence to === and <=> for Strings not documented
- No feedback, closing. I'm sorry.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:33 PM Feature #5644: add Enumerable#exclude? antonym
- Too bad we can't use symbols like `∉`.
-
10:32 PM Feature #5446 (Assigned): at_fork callback API
-
10:23 PM Bug #7386: test_signal_propagation_in_tests is failed before make install
- Same here with ruby 2.0.0dev (2012-11-19 trunk 37735) [x86_64-linux]
-
10:20 PM Feature #6136 (Rejected): Add gpg signatures whenever releasing ruby source tarballs
- No feedback. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:02 PM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
- Blame NaHi!
--
Yusuke Endoh <mame@tsg.ne.jp> -
10:01 PM Feature #4946 (Feedback): Building libruby-static.a with option nodynamic and --with-static-link-ext doesn't disable dlopen
- Can't you disable it with the following?
ac_cv_func_dlopen=no configure -
10:01 PM Feature #7368: rb_str_each_line()のパフォーマンス向上とリファクタリング
- 返信が遅くなってしまいました。
成瀬さん、レビュー頂きありがとうございます。
> このパッチだとたぶん、EUC-JPで「スト」に「好」がマッチするような場合は防げないんじゃないでしょうか。
rb_str_index()相当の誤マッチ対策をしてはいたのですが、誤マッチを検出した後の処理がまずかったので意味を為していませんでした。
この点は添付のpatchで修正しました。
> ...
validとinvalidで区別しているのは、被検索文字列がinva... -
09:40 PM Feature #4907: enumerable#permutation and combination
- This will not work for an enumerator created from IO.
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:34 PM Feature #3330 (Rejected): mkmf (find|have)_cxx_header
- #3333 と重複らしいのでこっちは閉じますね。(せっかくなのでキリ番を残す)
--
Yusuke Endoh <mame@tsg.ne.jp> -
09:34 PM Bug #7403 (Closed): TestWIN32OLE_TYPE test failure on Windows 8
- This issue was solved with changeset r37758.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/win32ole/test_win32ole_type.rb (test_implemented_ole_typ... -
12:30 PM Bug #7403 (Assigned): TestWIN32OLE_TYPE test failure on Windows 8
-
09:09 PM Feature #6376: Feature lookup and checking if feature is loaded
- Yes I know what you want. But I don't know why you want it. In general, I don't think that it is a good idea to depend on whether a feature is loaded or not. Rather, you should make sure to require what feature you need.
So, please... -
03:36 AM Feature #6376: Feature lookup and checking if feature is loaded
- =begin
@mame Your example would load the library. The request is to know where a library comes from (`(({require_path('ostruct')}))`). As an additional benefit it would allow us to know if a library has been loaded or not. It's nothing ... -
02:44 AM Feature #6376 (Assigned): Feature lookup and checking if feature is loaded
- If I had a right to judge a feature request, I would reject this.
But actually I have no right. Assigning to matz. (virtual rejection?)
I don't see what OP really want to do. Doesn't Rescue'ing a LoadError from require help?
b... -
09:08 PM Feature #5726 (Closed): Process::EXIT_SUCCESS and Process::EXIT_FAILURE
-
09:04 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- luislavena (Luis Lavena) wrote:
> AFAIK: debugger gem was a response to many of the installation issues
> ...
Actually link that I gave is sources of ruby-debug-base19x. These are both forks for the same reasons =)
ruby-debug-base19x... -
08:53 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- On Tue, Nov 20, 2012 at 8:08 AM, SASADA Koichi <ko1@atdot.net> wrote:
>
> Thanks! I'll try it.
>
> BTW, I can't understand relationship between `debugger' and `ruby-debug'.
>
AFAIK: debugger gem was a response to many of the in... -
08:23 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/11/20 17:46), denofevil (Dennis Ushakov) wrote:
> Yes, sure: https://github.com/ruby-debug/ruby-debug-base19
Thanks! I'll try it.
BTW, I can't understand relationship between `debugger' and `ruby-debug'.
--
//... -
05:46 PM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- Yes, sure: https://github.com/ruby-debug/ruby-debug-base19
-
07:53 AM Bug #7214: Ruby 2.0 breaks support for some debugging tools
- (2012/11/19 23:43), denofevil (Dennis Ushakov) wrote:
> I will try to rewrite ruby-debug-base for 2.0 using your fork during this week and will post about results
Can I see ruby-debug-base source code?
I will try it and find ou... -
08:59 PM Feature #5550 (Rejected): Hash#depth, Hash#flat_length for recursive hashes
- No feedback, looks hopeless to me. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:58 PM Feature #5553 (Rejected): A method for Hash that works differently depending on whether a key exists
- No feedback, looks hopeless to me. Closing.
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:57 PM Feature #5554 (Rejected): A method that applies self to a Proc if self is a Symbol
- 長期間フィードバックがない+望み薄と思われるので閉じます。
--
Yusuke Endoh <mame@tsg.ne.jp> -
08:23 PM Feature #6895: TracePoint API
- (2012/08/21 13:53), SASADA Koichi wrote:
>> > 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.
> Okay. I'll try it.
... -
08:12 PM Feature #6895: TracePoint API
- Finally, I changed TracePoint API to
* TracePoint.new
* TracePoint.trace
* TracePoint#enable
* TracePoint#disable
* TracePoint#enabled?
I believe you can imagine what happen. Please review it.
Remaining task is writing docu... -
08:15 PM Feature #7412 (Assigned): Pathname#relative_path_from does not support mixed directory separators on windows
- =begin
The support for mixing backslashes and forward slashes in the pathname module in the standard library seems to be broken on windows
require 'pathname'
base = Pathname.new("c:\\")
filepath = Pathname.new("c:/foo/b... -
08:13 PM Bug #7409 (Closed): Fix bsearch documentation bug - should be O(log n)
- This issue was solved with changeset r37755.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* array.c (rb_ary_bsearch): fix rdoc bug (O(n log n) -> O(log ... -
08:09 PM Bug #7409 (Assigned): Fix bsearch documentation bug - should be O(log n)
- Whoa, thank you!
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:32 PM Bug #7409 (Closed): Fix bsearch documentation bug - should be O(log n) - See attached
-
06:43 PM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- @nobu : nice idea.
By the way, as this proposal is rejected, i do not personally oppose anymore to giving the unary `-` and `+` the highest precedence (#7328). I've read that previously the main reason of giving the binary power ope... -
10:40 AM Bug #7331: Set the precedence of unary `-` equal to the precedence `-`, same for `+`
- Possibly, emitting a warning against the visual mismatch?
https://github.com/nobu/ruby/compare/warn_unary_space -
06:26 PM Bug #6203: Array#values_at does not handle ranges with end index past the end of the array
- This is a spec change in 2.0 unless any big compatibility problem arise.
Array#values_at should be define as:
def values_at(*idx)
idx.map{|i| self[i]}
end
So it should be written in the NEWS file.
Matz.
-
05:48 PM Feature #2542: URI lib should be updated to RFC 3986
- Are there any plans for actually fixing this? Not sure I can help, and no troll appetite - just asking :)
-
04:00 PM Revision b317bf06 (git): * file.c (Init_File): null device definition uses rb_define_const
- instead of rb_file_const.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 PM Bug #7112 (Closed): File.extname documentation fix
- This issue was solved with changeset r37749.
Noah, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* file.c (File.extname): Documentation for extname on dotfiles an... -
03:29 PM Revision 9d71f70d (git): * test/ruby/test_m17n_comb.rb (test_str_crypt): Use RbConfig to get
- libc's directory. Patched by Vit Ondruch [ruby-core:49763] [Bug #7312]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 PM Revision 132eb25a (git): * marshal.c: add marshal readahead. marshalized Array, Hash and Struct
- have size at least number of its elements, marshal readahead will
read the certain readable length and buffer when it needs more bytes.
marshal readahead prevents many calls to IO#getbyte and IO#read,
then it enables performace imp... - 03:03 PM Revision 2fff3595 (git): * 2012-11-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:03 PM Revision aa58a684 (git): * array.c (rb_get_values_at): Improve rdoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 PM Feature #7375: embedding libyaml in psych for Ruby 2.0
- My only concern for bundling third party library is that leaving behind unmaintained after years.
So give me a promise that Aaron will keep it for foreseeable future. Then I will trust him.
Matz.
- 02:53 PM Revision 68de2e58 (git): * NEWS: List incompatible change for Array#values_at [#6203]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 PM Bug #5530 (Assigned): SEEK_SET malfunctions when used with 'append' File.open mode
-
02:45 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- I've added a patch for File::NULL like kosaki-san's patch in r37746
-
02:20 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- In anticipation of drbrain's change in rdoc, i've added r37744, see #7365.
This should be reverted and treated similarly to kosaki-san's change in r37746 -
02:15 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- Kosaki-san, it might be good to backport this change so the File::Constants documentation makes it into 1.9.3
-
02:01 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- Finally, I've used rb_define_const() directly and solved the issue.
Thank you!
-
02:00 PM Bug #5530 (Closed): SEEK_SET malfunctions when used with 'append' File.open mode
- This issue was solved with changeset r37746.
Joshua J., thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (Init_IO): removed all rb_file_const() into file.c.
*... -
01:56 PM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
- =begin
I haven't yet imported the fix into ruby trunk, I am cleaning up the remaining bugs first. I hope to have it committed this coming weekend. I'll leave this ticket open until then.
Since rb_file_const is special, the comment s... -
02:22 PM Feature #7377: #indetical? as an alias for #equal?
- `identical?` can also mean "exactly alike", e.g. identical twins.
For the price of two additional letters, I'd recommend `same_object?` instead. -
07:03 AM Feature #7377: #indetical? as an alias for #equal? - +1, due to similar sounding name, these methods confuse beginners (me). #identical? feels much better.
-
02:11 PM Feature #6265: Remove 'useless' 'concatenation' syntax
- I will fix RubyGems and RDoc, please stand by.
-
02:49 AM Feature #6265 (Assigned): Remove 'useless' 'concatenation' syntax
- drbrain, do you have no intention of fixing rubygems? We cannot add the warning.
(Or please make matz change his mind ;-)
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:00 PM Bug #7342: String#<=> checks for a #to_str method on other but never uses it?
- jballanc (Joshua Ballanco) wrote:
> I would expect something like the following patch makes more sense?
You can use rb_check_funcall(). -
01:48 PM Revision 1196b798 (git): * Makefile.in (.d.h): replace char * to const char * because somehow
- current dtrace removes const of function declaration in probes.d.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 PM Revision 3ee0326b (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 PM Revision bf445c24 (git): fix guards for glibc crypt(3) see #7312
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 PM Bug #7326: Time.c doc improvements
- =begin
Arguments should be surrounded by "+", not "_". In Time.at, (({+seconds+})), (({+seconds_with_frac+})) and (({+microseconds_with_frac+})) are preferred.
Otherwise, a quick scan makes me think this patch is good.
For referen... -
12:44 PM Bug #7326: Time.c doc improvements
- If you can separate typo/grammar changes from formatting, it will be much easier for me to review and more likely to commit.
edit: s/grammer/grammar ... how ironic -
12:57 PM Revision cea7600b (git): * include/ruby/debug.h: introdudced.
- Debugging/profiling features will be located.
* vm_trace.c: expose C-level TracePoint APIs.
Note that they are experimental.
* vm_trace.c, include/ruby/debug.h: rename `rb_hook_flag_t'
to `rb_event_hook_flag_t'.
Macro names `RUBY_H... -
12:51 PM Feature #7106 (Assigned): FileUtils.touch should allow touching the symlink itself rather than the file the link points to
-
12:34 PM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Yes, OK.
Let's do it on next minor. -
05:12 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Nakamura-san
Are you OK with making File#lutime return a NotImplementedError for now and we can work on next version making File#symlink? and associated work on Windows?
Thank you. -
04:08 AM Feature #7106: FileUtils.touch should allow touching the symlink itself rather than the file the link points to
- Hey,
Thanks a million Luis! :-)
It would be amazing to get File#lutime added now so *nix / POSIX compliant environment will benefit from it, and then we can look (under a separate ticket) how to add File#symlink? for Windows platfo... -
12:49 PM Revision f495c968 (git): * configure.in (RUBY_DTRACE_AVAILABLE): only check dtrace availability.
- * configure.in (RUBY_DTRACE_POSTPROCESS): restore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:41 PM Revision 8459af3f (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:39 PM Revision 5191b2ae (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:39 PM Revision 2562560c (git): fix indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:34 PM Revision eabe74e0 (git): file.c: fix rdoc
- * file.c (rb_file_s_extname): fix rdoc for an edge case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 PM Revision c3da426d (git): remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:34 PM Revision a00a9a28 (git): * test/win32ole/test_win32ole_type.rb (test_implemented_ole_types):
- IShellDispatch6 bundled in Windows 8. Thanks to phasis68 (Heesob
Park). [ruby-core:49580][Bug #7403]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:34 PM Bug #7365 (Closed): File::NULL is not in documentation
- This issue was solved with changeset r37744.
Misty, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* file.c (File::NULL): Document File::NULL constant
[ruby-core... - 12:10 PM Revision 21453dc7 (git): * complex.c: some improvements.
- * rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 PM Revision 3b3d2006 (git): common.mk: fix for BSD make
- * common.mk (incs): BSD make cannot deal with non-prefixed dependency
and prefixed target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:48 AM Feature #5448 (Rejected): Singleton module's ::instance method should forward parameters
- I think that "an extra layer of complexity where none is needed" is the parameter here.
If it were really needed, you may want to use multiton instead.
What you want doesn't sound singleton. -
11:13 AM Revision 4c37c520 (git): * array.c (rb_ary_bsearch): fix rdoc bug (O(n log n) -> O(log n)).
- Patch by Charlie Somerville. [ruby-core:49661] [Bug #7409]
* range.c (range_bsearch): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 AM Revision f1aee632 (git): add a ticket number
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:06 AM Bug #7337 (Rejected): 1.9.3-p327 crashed on rake
- llvm-gcc-4.2 is too old.
Use recent toolchain. -
11:05 AM Bug #6490 (Closed): The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- This issue was solved with changeset r37741.
Michal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/tracer.rb (Tracer.trace_func): printf to stdout
Patch b... -
03:18 AM Bug #6490: The 'printf' method in trace_func is not sent to 'stdout' variable in tracer.rb
- Looks good to me. Zachary, could you please apply it to trunk?
I guess that Keiju-san does not read English mail (bad!), so I ask him to check your commit in Japanese.
いしつかさん、
Tracer で stdout.printf とすべきところが printf になっちゃってるという報告で... -
11:05 AM Revision 1da641a1 (git): * vm_trace.c: rename and add TracePoint APIs.
- (1) TracePoint.new(...){...} creates a new trace point
but does not make it enable.
(2) TracePoint.trace(...){...} creats a new trace point
and enable it (same as old behavior).
(3) TracePoint#enable make it enable (renamed from ... -
10:10 AM Feature #7051: Extend caller_locations API to include klass and bindings. Allow caller_locations as a method hanging off Thread.
- Apologies it has taken me so long to respond here.
> I concur with ko1's objection to having the bindings available. It would introduce *massive* performance overhead and kill many optimizations we implementers do currently or hope to ... -
09:48 AM Revision 55393196 (git): * vm_trace.c: add two methods:
- (1) TracePoint#return_value which returns return
value on the :return and :c_return event.
(2) TracePoint#raised_exception which returns raised exception
value on the :raise event.
Eeach methods raise RuntimeError if it is called... -
09:41 AM Feature #7378: Adding Pathname#write
- I definitely also have written Pathname#write, and used it. Please provide a patch, that should help getting it included.
-
09:40 AM Bug #3924 (Closed): Performance bug (in require?)
- Fixed by #7158.
-
09:34 AM Feature #5767 (Closed): Cache expanded_load_path to reduce startup time
- Fixed by #7158.
-
09:32 AM Feature #5427 (Closed): Not complex patch to improve `require` time (load.c)
- Fixed by #7158. See #7387.
-
08:47 AM Revision b1fa5590 (git): Add extra line to prevent syntax error
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:35 AM Revision da56cb6b (git): * configure.in: fix dtrace didn't work on darwin.
- * configure.in (RUBY_DTRACE_AVAILABLE): unify RUBY_DTRACE_POSTPROCESS
and RUBY_DTRACE_BSD_BROKEN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:28 AM Bug #7350: Segmentation fault with ruby 1.9.3p328 (2012-11-13) [x86_64-linux]
- Argh, my bad - I think it's a problem with how we were using libxml-ruby rather thank a ruby bug.
We had an area of code where we weren't correctly importing nodes into documents (see "Memory Management" in http://libxml.rubyforge.org... -
07:53 AM Feature #7390: Funny Falcon Threads
- (2012/11/20 3:12), mame (Yusuke Endoh) wrote:
> ko1, could you consider this issue towards next minor?
Sure.
--
// SASADA Koichi at atdot dot net -
03:12 AM Feature #7390 (Assigned): Funny Falcon Threads
- ko1, could you consider this issue towards next minor?
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:32 AM Bug #7406: English.rb says that $_ is thread-local, but it is frame-local
- I guess this is a bit confusing, since it does also say it's scope-local. The thread-local part throws me off a bit. Is it thread-local or scope-local?
Here's the example again, this time actually running in 2.0.0.preview1:
system ... -
07:28 AM Bug #7406 (Closed): English.rb says that $_ is thread-local, but it is frame-local
- system ~/projects/jruby/gist-4110634 $ jirb
irb(main):001:0> $_ = 'foo'
=> "foo"
irb(main):002:0> def blah; p $_; end
=> nil
irb(main):003:0> p $_
"foo"
=> "foo"
irb(main):004:0> blah
nil
=> nil
Not thread-local. -
07:09 AM Feature #7388: Object#embed
- =begin
I thought about a few terms that might work in both cases, i.e. the so called "embed" case of this issue and the "identity" case of #6373. All of the obvious plays on the term "self" didn't fair too well. So I took a step back an... -
06:07 AM Feature #7388 (Rejected): Object#embed
- =begin
I am against those names (not the feature).
: embed
the term 'embed' has different impression.
: infix
'infix' reminds me 'infix operators'.
: ergo
Latin? I am strongly against introducing non-popular non-Englis... -
05:53 AM Feature #7388: Object#embed
- Is this #ergo? Also see #6721 and #6373.
-
04:29 AM Feature #7388: Object#embed
- >
> I'd even say that `embed` is wrong.
>
> I would like to know of a good example of use case. I often succumb to the
> temptation of writing more complex code to avoid creating a local var, but
> that doesn't always make for... -
03:37 AM Feature #7388: Object#embed
- mame (Yusuke Endoh) wrote:
> My personal opinion: the method name will matter.
I'd even say that `embed` is wrong.
I would like to know of a good example of use case. I often succumb to the temptation of writing more complex code ... -
03:10 AM Feature #7388 (Assigned): Object#embed
- In principle, I have no right to judge a feature request.
Please ask matz.
My personal opinion: the method name will matter.
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:02 AM Feature #7387 (Closed): Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- LOADED_FEATURES hash index was included in #7158. Sorted LOADED_FEATURES is another approach for faster LOADED_FEATURES lookup in require, but we cannot apply both of them since they are conflicted implementations. Performance issue of r...
-
03:15 AM Feature #7387: Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- Hiroshi-san can you verify this has been resolved?
-
03:14 AM Feature #7387: Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- mame, you're welcome, I hope it helps you with the release!
I wasn't sure if this was included in #7158, so it may be duplicate. Feel free to close this ticket. -
03:09 AM Feature #7387 (Feedback): Keep LOADED_FEATURES sorted by filename without extention for faster lookup on require.
- Zachary, thank you for the sorting out the tickets!
I think that the problem itself was fixed effectively by #7158.
Am I misunderstanding?
--
Yusuke Endoh <mame@tsg.ne.jp> -
06:55 AM Feature #7341: Enumerable#associate - @Tom: Associative arrays are nice, but they are just arrays. No need to pamper them too much in the core.
-
06:49 AM Feature #7384: Rename #each_with_object to #each_with - +1 for Eregon. #each_with_object is my favorite method, I love and always alias it to #ewo :)
-
06:41 AM Feature #6811: File, Dir and FileUtils should have bang-versions of singleton methods that fails silently - First, let me apologize to everyone for expressing opinion, while having relatively little experience. I like your proposal, but I am concerned about feature creep. Maybe those convenience features should go to stdlib, just like eg. requ...
-
06:37 AM Revision b6161a3b (git): * file.c (File.extname): Documentation for extname on dotfiles and
- files ending with a dot. Also, added example for this.
[ruby-core:47852] [Bug #7112]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 AM Revision 134d33b0 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:39 AM Revision 4d3f768b (git): * test/ruby/test_signal.rb (TestSignal#test_signame): fix windows
- test failure. Process.kill on windows can't send a signal to
another process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Revision c8a3b2ba (git): * io.c (Init_IO): removed all rb_file_const() into file.c.
- * file.c (Init_File): replace with rb_file_const() with
rb_define_const() because RDoc don't care rb_file_const.
[Bug #5530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:37 AM Revision 7e96fb25 (git): * ruby.c (usage_msg): Fix typo [ruby-core:49205] [Bug #7327]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:34 AM Revision ca8f3275 (git): * file.c (File::NULL): Document File::NULL constant
- [ruby-core:49384] [Bug #7365]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 AM Feature #6596: New method `Array#indexes`
- Any new on this please ? I see that this ticket is assigned to Matz. Is there any chance to see it implemented in ruby ?
-
03:14 AM Feature #6670: str.chars.last should be possible
- knu, could you please review this? :-)
--
Yusuke Endoh <mame@tsg.ne.jp> - 03:07 AM Revision 0c3d9675 (git): * win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of console
- API.
based on the patch by Heesob Park at [ruby-core:49479] [Bug #7379]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Feature #5373: SMTP - new method
- I can't say anything but "no" because the deadline has passed.
So, don't ask me.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:52 AM Bug #7221: Unable to compile kgio under 1.9.3 with error: ruby-1.9.3-<plvl>/lib/ruby/1.9.1/mkmf.rb:597:in `Integer': can't convert nil into Integer (TypeError)
- David, busy?
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:45 AM Feature #2447: reduce GC pressure by symbol table without String instance
- 他にやってくれる人がいなければ next minor 送りで。
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:38 AM Feature #5995: calling io_advise_internal() in read_all()
- Well, I wonder what I should do.
... I procrastinate the decision to next minor.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:33 AM Bug #4453 (Closed): Overriding #to_s changes #inspect
- "Fixed" at r36699. See #6130.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:32 AM Feature #5106 (Rejected): Is MurmurHash overkill?
- I'm closing this ticket. Feel free to reopen with benchmark.
BTW: MurmurHash was replaced with SipHash which is a bit slower than MurmurHash.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:31 AM Feature #4247: New features for Array#sample, Array#choice
- My apologies, I forgot this ticket completely. I should have wrapped up this discussion.
This missed the deadline of 2.0.0. I'm setting this to next minor. Sorry.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:27 AM Feature #7252: version number of 2.0 release
- ああ、忘れてました。提案したことも matz から承認されたことも忘れていた上に、このチケットまで忘れるとは我ながら惚れ惚れする忘却力。あいすみません。Vit への連絡もありがとうございます (あれだけでいいかな) 。
でまあ、2.0.0 と ABI については確定でいいと思うのですが、2.0.1 以降どうすんのか?という点は未定だと思うので (matz の「1.8の頃のルールに戻すかどうかはまだ迷っているのですが」のあたり) 、一応 next minor として... -
02:21 AM Revision bd0931f7 (git): * configure.in (--enable-dtrace): always call RUBY_DTRACE_BSD_BROKEN
- for portability.
As the note, FreeBSD 8 has DTrace as the optional
feature (it is enabled by the build option), but doesn't have USDT.
FreeBSD 9 has USDT but they are still optional. FreeBSD 10 will
enable them by default.
The ... -
02:05 AM Revision b65dda51 (git): * lib/tracer.rb (Tracer.trace_func): printf to stdout
- Patch by Michal Fojtik [ruby-core:45219] [Bug #6490]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:21 AM Revision b74e1b21 (git): revert r37730
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:18 AM Revision 49c0c510 (git): Revert "* configure.in (--enable-dtrace): change help message"
- This reverts commit 029b59ba53d0cc42630d623b52d94cae0df62734.
When $rb_cv_prog_dtrace_g is yes on FreeBSD even if /usr/bin/dtrace
exists, it means dtrace is disabled on the system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37739... -
01:03 AM Bug #7405: Rdoc for CGI#header alias
- Much better, thank you.
-
12:42 AM Bug #7405: Rdoc for CGI#header alias
- =begin
I like to avoid negatives as much as possible.
(({This method is an alias for #http_header, when HTML5 tag maker is inactive.}))
(({NOTE: use CGI#http_header to create HTTP header blocks, this alias is only provided for bac... -
12:30 AM Bug #7405 (Closed): Rdoc for CGI#header alias
- =begin
CGI#header was only reintroduced as alias for CGI#http_header for compatibility reasons (see #7286), it's use for this purpose is deprecated. This should be made clear in the rdoc (patch provided):
This method is an alias ... - 12:51 AM Revision f86396e4 (git): * 2012-11-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 AM Revision a7e13d65 (git): Remove probes.o before update
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:50 AM Revision 29996bb3 (git): Don't send INT signal itself.
- On make test-all, it kills the process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e