nobu
69310faab2
* ext/tk/extconf.rb (get_tclConfig_dirs): glob with EXEEXT.
...
* ext/tk/extconf.rb (search_tclConfig): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07 00:16:19 +00:00
nagai
cc9333b840
* ext/tk/extconf.rb: search directories on PATH, only if containing
...
tclsh or wish command (probably right fix for [ruby-core:30010]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 21:47:37 +00:00
nagai
690e065bf8
* ext/tk/extconf.rb: revert. enbugged by last commit.
...
([ruby-dev:41133], [ruby-dev:41134], [ruby-core:30010])
* ext/tk/README.tcltklib: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-05 10:08:16 +00:00
nagai
5d639de5d3
* ext/tk/extconf.rb: better support for MinGW environment.
...
* ext/tk/README.tcltklib: add info of --with-tcltk-drive for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30 06:41:01 +00:00
nobu
3e8d63059d
* ext/**/*.[ch]: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:16:09 +00:00
nobu
977267c2e0
* ext/**/*.[ch]: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:04:13 +00:00
nagai
9e415266a8
* ext/tk/extconf.rb: fix [ruby-core:28901] [Bug #2997 ]. Thanks, Michael Graff.
...
* ext/tk/tcltklib.c: use xfree() for memories allocated by ALLOC().
* ext/tk/tkutil/tkutil.c: ditto.
* ext/tk/lib/tkextlib/version.rb: forgot updating.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 19:55:32 +00:00
nagai
fd684f1082
* ext/tk/extconf.rb: fix [Bug #2840 ] Tk doesn't built in mingw.
...
* ext/tk/lib/tk.rb: forgot updating RELEASE_DATE at last commit.
* ext/tk/tkutil/tkutil.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-13 01:07:23 +00:00
nobu
de850442f2
* ext/tk/extconf.rb: log() is built-in in some compilers and needs
...
proper declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-11 21:49:02 +00:00
nagai
023a34526b
* ext/tk/tkutil/tkutil.c: fix SEGV on TkUtil::CallbackSubst._setup_subst_table.
...
* ext/tk/lib/tk.rb: [ruby1.9] fix freeze at exit.
* ext/tk/lib/tk.rb: [POTENTIAL INCOMPATIBLE] return NoMethodError
for TkWindow#to_ary and to_str.
* ext/tk/lib/tkextlib/tcllib/plotchart.rb: wrong arguments.
* ext/tk/sampel/tkballoonhelp.rb: fail to support TkEntry widgets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-31 22:50:43 +00:00
nagai
d71eab14fb
* ext/tk/lib/tk/variable.rb (TkVariable::coerce): fix bug on a numeric value.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 19:11:32 +00:00
nagai
cbad6bc357
* ext/tk/lib/tk/variable.rb: TkVariable#*(other) and /(other) have a
...
bug on handling of the "other" value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13 18:36:38 +00:00
nagai
aacc33649a
* ext/tk/lib/tk/variable.rb: add TkVariable#+@ and -@ method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27 12:22:42 +00:00
nagai
226c12d4e9
* ext/tk/tcltklib.c: mistake on operation. sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 23:21:18 +00:00
nagai
435f18f513
* ext/tk/tcltklib.c,stubs.c: remove errors or warnings when compiled
...
with old ruby 1.8.x.
* ext/tk/tkutil/tkutil.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 22:40:22 +00:00
nagai
dc28ce1b0b
* ext/tk/lib/remote-tk.rb: typo fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26 04:26:57 +00:00
nagai
ba3abf209d
* ext/tk/variable.rb: bug fix. additional trace definition changes the
...
option of first trace definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-13 09:55:55 +00:00
nagai
cb732bbbdc
* ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***
...
'tags' option of a TkcItem object gives a list of TkcTag objects.
* ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb:
lack of support for methodcall_optkeys.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-05 21:29:32 +00:00
nagai
85b326ac42
* ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_ary
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03 20:39:54 +00:00
nagai
979ac967a9
* ext/tk/extconf.rb (search_tclConfig): last change isn't enough. fixed it.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-09 12:24:55 +00:00
nagai
833b354578
* ext/tk/extconf.rb (search_tclConfig): fix logic bug.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-06 16:07:11 +00:00
nagai
4293a98596
* ext/tk/lib/tcltklib.c: fix trouble on old-style C function
...
declarations [ruby-core:22871].
* ext/tk/lib/tcltklib.c: (ruby_1_8) fix warning about RUBY_RELEASE_DATE
* ext/tk/lib/tk/multi-tk.rb: kill zombie threads.
* ext/tk/lib/tk/fontchooser.rb: fix typo and support OptionObj.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tk/virtevent.rb,
ext/tk/lib/tk/image.rb, , ext/tk/lib/tk/timer.rb: create unnecessary array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03 19:01:03 +00:00
nagai
8e7e28f15c
* ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries.
...
* ext/tk/lib/config_list.in: bug fix and add a new option.
* ext/tk/lib/README.tcltklib: update for a new option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-27 19:40:43 +00:00
nagai
dac591d01b
* ext/tk/extconf.rb: should not create "config_list" in a $srcdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-23 08:28:49 +00:00
nagai
924e2fcefa
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 22:57:10 +00:00
nagai
556232734e
* ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().
...
Extend usage pattern of grid_column()/grid_row().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-17 22:09:14 +00:00
nagai
31060fb11b
* ext/tk/extconf.rb,ext/tk/config_list.in: ignore paths which includes
...
white space characters on Windows.[ruby-dev:38794]
* ext/tk/lib/tk.rb: works on Cygwin (limitation:: Tk.mainloop works on
the main thread only).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-16 14:34:09 +00:00
nagai
3272d17d0c
* ext/tk/extconf.rb: --with-{tcl,tk}-dir doesn't work.[ruby-dev:38782]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14 21:29:49 +00:00
nagai
ed58635229
* ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.
...
So, disable the feature and waiting for improvement in the future.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-14 00:28:31 +00:00
nagai
2b94358ac4
* ext/tk/lib/tk/menuspec.rb: commit miss on my last commitment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-13 23:11:34 +00:00
nagai
ed6ce8b43b
* ext/tk/extconf.rb: New strategy for searching Tcl/Tk libraries.
...
* ext/tk/*: Support new features of Tcl/Tk8.6b1 and minor bug fixes.
( [KNOWN BUG] Ruby/Tk on Ruby 1.9 will not work on Cygwin. )
* ext/tk/*: Unify sources between Ruby 1.8 & 1.9.
Improve default_widget_set handling.
* ext/tk/*: Multi-TkInterpreter (multi-tk.rb) works on Ruby 1.8 & 1.9.
( [KNOWN BUG] On Ruby 1.8, join to a long term Thread on Tk
callbacks may freeze. On Ruby 1.9, cannot create a second
master interpreter (creating slaves are OK); supported master
interpreter is the default master interpreter only. )
* ext/tk/lib/tkextlib/*: Update supported versions of Tk extensions.
Tcllib 1.8/Tklib 0.4.1 ==> Tcllib 1.11.1/Tklib 0.5
BWidgets 1.7 ==> BWidgets 1.8
TkTable 2.9 ==> TkTable 2.10
TkTreeCtrl 2005-12-02 ==> TkTreeCtrl 2.2.9
Tile 0.8.0/8.5.1 ==> Tile 0.8.3/8.6b1
IncrTcl 2005-02-14 ==> IncrTcl 2008-12-15
TclX 2005-02-07 ==> TclX 2008-12-15
Trofs 0.4.3 ==> Trofs 0.4.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-12 23:08:32 +00:00
nobu
3f405a7688
* ext/tk/tcltklib.c (get_obj_from_str): suppressed a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-11 05:49:22 +00:00
matz
b10617c3d1
* sample/drb/dhasenc.rb: add magic comment for encoding.
...
* sample/mine.rb: ditto.
* ext/tk/sample/tcltklib/sample1.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16 02:00:42 +00:00
nagai
0e61068c2b
* ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 00:45:17 +00:00
nobu
f86cd0d4c2
* ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core),
...
(lib_watchdog_core): tv_usec is not time_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 07:37:24 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
knu
df0f575e1d
Fix grammos regarding the verb "refer".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-10 08:55:40 +00:00
nobu
186f7fe9cf
properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-27 22:22:34 +00:00
nagai
3f2b281eee
* ext/tk/lib/tk.rb: use Encoding.find("locale") instaed of
...
Encoding.locale_charmap
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12 17:10:02 +00:00
nagai
c8b8db001b
* ext/tk/lib/tk.rb: rescue abnormal Encoding.locale_charmap value.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09 04:21:28 +00:00
nagai
3be4523bde
* ext/tk/tcltklib.c: fix wrong flag value.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22 09:04:14 +00:00
nagai
6c650f35f9
* ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9).
...
* ext/tk/sample/demos-jp/widget: set encoding to a demo-code string to
avoid garbled text on the Code Window.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21 17:56:38 +00:00
nagai
694fab958c
* ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat
...
'parent' and 'variable' options on a Hash argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 21:03:49 +00:00
nagai
57746bb6fa
* ext/tk/lib/tk.rb: bug fix. use ::RubyVM instead of ::VM [ruby-list:45676]
...
* ext/tk/tcltklib.c: update RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 20:10:28 +00:00
nobu
13424f32fe
* ext/tk/tcltklib.c (ip_ruby_cmd, ip_invoke_with_position): must
...
not access internal union directly. [ruby-list:45670]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 05:48:55 +00:00
nagai
9a206a8039
* ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb:
...
fix many bugs. Now, those work properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 18:49:43 +00:00
nagai
89f1118329
* ext/tk/lib/tkextlib/version.rb, ext/tk/ChangeLog.tkextlib: update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22 01:43:31 +00:00
nagai
2e1ee398a4
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
...
fix NameError bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22 01:37:58 +00:00
nagai
27fdb77821
* ext/tk/lib/tk.rb: support Encoding.default_internal.
...
* ext/tk/tcltklib.c: ditto.
* ext/tk/extconf.rb: improve the strategy for searching Tcl/Tk headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-19 23:22:10 +00:00
yugui
c86ce094e2
* include/ruby/ruby.h: embeds the elements of an array into its
...
struct RArray for # of elements <= 3.
* array.c: ditto.
* gc.c (gc_mark_children): following the change of struct RArray.
* ext/tk/tcltklib.c (ip_ruby_cmp): ditto.
* parse.y (coverage): ditto.
* proc.c (curry): ditto.
* .gdbinit: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-09 05:47:04 +00:00