Commit Graph

5 Commits

Author SHA1 Message Date
nagai 17805a51d1 * ext/tk/tkutil/tkutil.c (ary2list): give wrong arguments to hash2kv()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15 07:41:09 +00:00
nagai 57b3ed4cda * ext/tk/tkutil/tkutil.c: follow the change of st.c (committed at Fri,
4 Mar 2005 15:47:47 +0900 by matz)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-06 16:23:47 +00:00
nagai 3124427ccb * ext/tk/tcltklib.c: enforce thread-check and exception-handling to
avoid SEGV trouble.
* ext/tk/tkutil/tkutil.c; fix a bug on converting a SJIS string array
  to a Tcl's list string.
* ext/tk/tcltklib.c: wrap Tcl's original "namespace" command to
  protect from namespace crash.
* ext/tk/lib/multi-tk.rb: enforce exception-handling.
* ext/tk/lib/multi-tk.rb: catch IRB_EXIT to work on irb.
* ext/tk/lib/tk.rb: ditto.
* ext/tk/tcltklib.c: add TclTkLib.mainloop_thread?
* ext/tk/lib/multi-tk.rb: (bug fix) callback returns a value.
* ext/tk/lib/tk/canvas.rb (delete): bug fix when multiple arguments.
* ext/tk/lib/clock.rb: fix 'no method error'.
* ext/tk/lib/clock.rb (self.clicks): accept a Symbol argument.
* ext/tk/lib/variable.rb: be able to set default_value_type; :numeric,
  :bool, :string, :symbol, :list, :numlist or nil (default; same to
  :string). If set a type, TkVariable#value returns a value of the type.
* ext/tk/lib/tkextlib/tclx/tclx.rb: add Tk::TclX.signal to warn the
  risk of using TclX extension's 'signal' command.
* ext/tk/sample/irbtk.rb: irb with Ruby/Tk.
* ext/tk/sample/demos-*/anilabel.rb: bug fix on 'show code'
* ext/tk/sample/demos-*/aniwave.rb: new Ruby/Tk animation demo.
* ext/tk/sample/demos-*/pendulum.rb: ditto.
* ext/tk/sample/demos-*/goldberg.rb: ditto.
* ext/tk/sample/demos-*/widget: add entries of animation demos.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-02 07:06:52 +00:00
usa b0a71179ea * ext/tk/make-tkutil, ext/tk/tkutil/subconf.rb: no longer used.
* ext/tk/tkutil/extconf.rb: need to compile tkutil. [ruby-dev:25607]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-09 01:03:41 +00:00
nagai dbe83e69d8 * ext/tk/extconf.rb: add tkutil configuration step (remove old schema)
* ext/tk/depend: remove the information of tkutil
* ext/tk/make-tkutil: sub-part of Makefile to compile tkutil
* ext/tk/tkutil/tkutil.c: move tkutil.c to subdirectory
* ext/tk/tkutil/subconf.rb: configuration file for tkutil.c
* ext/tk/tkutil/depend: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-31 04:17:23 +00:00