diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-28 09:14:59 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-28 09:14:59 +0000 |
commit | 41d41fbdb9e2448404865310c295dd666ce60d00 (patch) | |
tree | 8a2a332a7cae900cfd066998598bf60e4493f5e7 /ChangeLog | |
parent | 501fdc09d8fa09adc1e326c87942276102cbd92b (diff) | |
download | ruby-41d41fbdb9e2448404865310c295dd666ce60d00.tar.gz |
* ext/tk/stubs.c: When --enable-tcltk-stubs, the initialize
routine creates a Tcl/Tk interpreter and deletes it. However,
init cost of Tk's MainWindow is not so small. And that makes it
impossible to use libraries written with Tcl functions only on
an environment without a graphical display. This changes support
delaying initalization of Tk_Stubs until the script needs Tk.
* ext/tk/stubs.h: New file. Define prototypes and return codes of
functions on stubs.c.
* ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs
until the script needs Tk.
* ext/tk/tcltklib.c: Show friendly error messages for errors on
initialization.
* ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is
exiting and $DEBUG is true. (Not fix. If you know the reason of
why, please fix it.)
* ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling
of encoding.
* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
don't work propery.
* ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk.
* ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the
object for an element of a Tcl's array variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -1,3 +1,36 @@ +Thu Jul 28 18:09:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tk/stubs.c: When --enable-tcltk-stubs, the initialize + routine creates a Tcl/Tk interpreter and deletes it. However, + init cost of Tk's MainWindow is not so small. And that makes it + impossible to use libraries written with Tcl functions only on + an environment without a graphical display. This changes support + delaying initalization of Tk_Stubs until the script needs Tk. + + * ext/tk/stubs.h: New file. Define prototypes and return codes of + functions on stubs.c. + + * ext/tk/tcltklib.c: Support delaying initalization of Tk_Stubs + until the script needs Tk. + + * ext/tk/tcltklib.c: Show friendly error messages for errors on + initialization. + + * ext/tk/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is + exiting and $DEBUG is true. (Not fix. If you know the reason of + why, please fix it.) + + * ext/tk/tkutil/tkutil.c (ary2list, ary2list2): bug fix on handling + of encoding. + + * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string + don't work propery. + + * ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk. + + * ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the + object for an element of a Tcl's array variable. + Thu Jul 28 17:23:37 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * parse.y (f_larglist): allow block argument in lambda parameter |