e$B1J0f!wCNG=!%6e9)Bg$G$9!%e(B
trunk e$B$K$*$1$k0J2<$NJQ99e(B (extconf.rb, stubs.c, tk.rb)
e$B$G$9$,!$e(B
1.9.2 e$B$X$Ne(B backport e$B$r$*4j$$$G$-$^$9$G$7$g$&$+!)e(B
e$B$"$k$$$Oe(B backport e$B$7$F$b9=$o$J$$$G$7$g$&$+!%e(B
Thu Jun 3 01:22:45 2010 Hidetoshi NAGAI [email protected]
* ext/tk/lib/tk.rb: fix typo and race condition.
Mon May 31 23:44:22 2010 Hidetoshi NAGAI [email protected]
* ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when
frameworks
are enabled on MacOS X.
* ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS
X.
* ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter.
And hide a root window before starting eventloop. (for ruby
1.9)
//e$B=|30e(B * ext/tk/tcltklib.c: add codes to support Ruby/Tk-Kit
(Rubykit).
e$B!V=|30!W$H$7$F$$$k0J30$Oe(B [ruby-core:30358]
e$B$GJs9p$5$l$?LdBj$X$NBP=h$G$9!%e(B
e$BJs9p<T$+$i$O!$$3$l$i$N=$@5$K$h$jLdBj$O2r7h$7$?$H$NO"Mm$O$b$i$C$F$$$^$9!%e(B
e$B>e5-$K$Oe(B MacOS X e$BMm$_$N=$@5$,4^$^$l$F$O$$$^$9$,!$e(B
e$B$=$l$i$Oe(B [ruby-core:30358] (windows e$B4D6-e(B)
e$B$N$?$a$N=$@5$KH<$C$Fe(B
MacOS X e$B>e$G@8$8$F$7$^$&LdBje(B (e$B$*$h$SJ|CV$7$F$$$?LdBje(B)
e$B$X$NBP=h$G$9!%e(B
e$B$h$C$F!$$3$l$i$r@Z$jN%$7$FE,MQ$9$k$3$H$K$OFq$,$"$j$^$9!%e(B
e$BE,MQ$K$D$$$F$NAjCL$r$5$;$F$$$?$@$$$F$$$k$N$O!$e(B
e$B$3$l$^$G$Ne(B preview e$B$H<c43$N0c$$$,@8$8$k$?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