diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-28 09:15:37 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-28 09:15:37 +0000 |
commit | 3332a04e05e896df988d7ad361a786e308bc74f8 (patch) | |
tree | f62d57e4fd368ad5aa9afc2e4bfc4e34b89f2b27 /ChangeLog | |
parent | ac66281e440aa0420a5b0811d9917e6eb1eee830 (diff) |
* ext/tcltklib/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/tcltklib/stubs.h: New file. Define prototypes and return
codes of functions on stubs.c.
* ext/tcltklib/tcltklib.c: Support delaying initalization of
Tk_Stubs until the script needs Tk.
* ext/tcltklib/tcltklib.c: Show friendly error messages for errors
on initialization.
* ext/tcltklib/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.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/branches/ruby_1_8@8861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -1,3 +1,35 @@ +Thu Jul 28 18:09:55 2005 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> + + * ext/tcltklib/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/tcltklib/stubs.h: New file. Define prototypes and return + codes of functions on stubs.c. + + * ext/tcltklib/tcltklib.c: Support delaying initalization of + Tk_Stubs until the script needs Tk. + + * ext/tcltklib/tcltklib.c: Show friendly error messages for errors + on initialization. + + * ext/tcltklib/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.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. + Wed Jul 27 23:23:54 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * gc.c (obj_free): make message formant consistent with one from |