ruby-cvs:15968
From: (nagai) <nagai ruby-lang.org>
Date: Fri, 18 Nov 2005 17:39:06 +0900
Subject: [ruby-cvs:15968] ruby, ruby/ext/tk, ruby/ext/tk/lib, ruby/ext/tk/lib/tk: * ext/tk/lib/multi-tk.rb: add restriction to access the entried
nagai Fri, 18 Nov 2005 17:39:06 +0900
Modified files:
ruby:
ChangeLog
ruby/ext/tk:
tcltklib.c
ruby/ext/tk/lib:
multi-tk.rb remote-tk.rb tk.rb
ruby/ext/tk/lib/tk:
namespace.rb
Log:
* ext/tk/lib/multi-tk.rb: add restriction to access the entried
command table and manipulate other IPs (for reason of security).
Now, a IP object can be controlled by only its master IP or the
default IP.
* ext/tk/lib/remote-tk.rb: add restriction to manipulate.
* ext/tk/tcltklib.c (ip_is_slave_of_p): add TclTkIp#slave_of?(ip)
to check manipulability.
* ext/tk/lib/tk.rb: bug fix on handling of Tcl's namespaces.
* ext/tk/lib/tk/namespace.rb: ditto.
Revision Changes Path
1.4770 +16 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.4769&r2=1.4770
1.42 +27 -1 ruby/ext/tk/tcltklib.c
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/tcltklib.c?cvsroot=src&r1=1.41&r2=1.42
1.52 +202 -15 ruby/ext/tk/lib/multi-tk.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/lib/multi-tk.rb?cvsroot=src&r1=1.51&r2=1.52
1.14 +38 -0 ruby/ext/tk/lib/remote-tk.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/lib/remote-tk.rb?cvsroot=src&r1=1.13&r2=1.14
1.179 +60 -4 ruby/ext/tk/lib/tk.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/lib/tk.rb?cvsroot=src&r1=1.178&r2=1.179
1.8 +51 -5 ruby/ext/tk/lib/tk/namespace.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/lib/tk/namespace.rb?cvsroot=src&r1=1.7&r2=1.8