From f033d8519f4f6955f28c44a6205971f6a4eb439d Mon Sep 17 00:00:00 2001 From: nagai Date: Tue, 14 Oct 2003 15:25:45 +0000 Subject: ext/tcltklib/tcltklib.c: * replace Tcl/Tk's vwait and tkwait to switch on threads smoothly and avoid seg-fault. * add TclTkIp._thread_vwait and _thread_tkwait for waiting on a thread. ( Because Tcl/Tk's vwait and tkwait command wait on a eventloop. ) ext/tk/lib/multi-tk.rb: * support TclTkIp._thread_vwait and _thread_tkwait ext/tk/lib/tk.rb: * now, TkVariable#wait has 2 arguments. If 1st argument is true, waits on a thread. If false, waits on an eventloop. If 2nd argument is true, checks existence of rootwidgets. If false, doesn't. Default is wait(true, false). * add TkVariable#tkwait(arg) which is equal to TkVariable#wait(arg, true) * wait_visibility and wait_destroy have an argument for waiting on a thread or an eventloop. * improve of accessing Tcl/Tk's special variables ext/tk/lib/tkafter.rb: * support 'wait on a thread' and 'wait on an eventloop' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8b11a3c26..20db9233b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,29 @@ +Wed Oct 15 00:20:15 2003 Hidetoshi NAGAI + + * ext/tcltklib/tcltklib.c: replace Tcl/Tk's vwait and tkwait to + switch on threads smoothly and avoid seg-fault. + + * ext/tcltklib/tcltklib.c: add TclTkIp._thread_vwait and + _thread_tkwait for waiting on a thread. (Because Tcl/Tk's vwait + and tkwait command wait on an eventloop.) + + * ext/tk/lib/multi-tk.rb: support TclTkIp._thread_vwait and + _thread_tkwait. + + * ext/tk/lib/tk.rb: now, TkVariable#wait has 2 arguments. + If 1st argument is true, waits on a thread. If false, waits on + an eventloop. If 2nd argument is true, checks existence of + rootwidgets. If false, doesn't. Default is wait(true, false). + + * ext/tk/lib/tk.rb: add TkVariable#tkwait(arg) which is equal to + TkVariable#wait(arg, true). wait_visibility and wait_destroy + have an argument for waiting on a thread or an eventloop. + + * ext/tk/lib/tk.rb: improve of accessing Tcl/Tk's special variables. + + * ext/tk/lib/tkafter.rb: support 'wait on a thread' and 'wait on + an eventloop'. + Wed Oct 15 00:10:24 2003 NAKAMURA, Hiroshi * lib/soap/baseData.rb: Introduce SOAPType as the common ancestor of -- cgit