зеркало из https://github.com/github/ruby.git
* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.
So, disable the feature and waiting for improvement in the future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2b94358ac4
Коммит
ed58635229
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jul 14 09:26:14 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
|
* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.
|
||||||
|
So, disable the feature and waiting for improvement in the future.
|
||||||
|
|
||||||
Tue Jul 14 01:28:17 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
Tue Jul 14 01:28:17 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* test/ruby/test_m17n.rb (TestM17N#test_env): the encoding of
|
* test/ruby/test_m17n.rb (TestM17N#test_env): the encoding of
|
||||||
|
|
|
@ -2182,7 +2182,8 @@ class MultiTkIp
|
||||||
end
|
end
|
||||||
private :eval_proc_core
|
private :eval_proc_core
|
||||||
|
|
||||||
if WITH_RUBY_VM ### Ruby 1.9
|
if false && WITH_RUBY_VM ### Ruby 1.9
|
||||||
|
# Not stable, so disable this feature
|
||||||
def eval_callback(*args)
|
def eval_callback(*args)
|
||||||
if block_given?
|
if block_given?
|
||||||
cmd = Proc.new
|
cmd = Proc.new
|
||||||
|
|
|
@ -81,7 +81,7 @@ p ip.eval_proc(proc{
|
||||||
:command=>proc{
|
:command=>proc{
|
||||||
MultiTkIp._proc_on_current_safelevel(y).call(l)
|
MultiTkIp._proc_on_current_safelevel(y).call(l)
|
||||||
}).pack(:fill=>:x, :padx=>5)
|
}).pack(:fill=>:x, :padx=>5)
|
||||||
if Object.const_defined?(:RubyVM) && ::RubyVM.class == Class
|
if false && Object.const_defined?(:RubyVM) && ::RubyVM.class == Class
|
||||||
TkButton.new(:text=>':command=>proc{Thread.new(l, &y).value}',
|
TkButton.new(:text=>':command=>proc{Thread.new(l, &y).value}',
|
||||||
:command=>proc{
|
:command=>proc{
|
||||||
Thread.new(l, &y).value
|
Thread.new(l, &y).value
|
||||||
|
|
Загрузка…
Ссылка в новой задаче