summaryrefslogtreecommitdiffstats
path: root/ext/tk
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/tk/sample/demos-jp/ctext.rb: modify improper message text.nagai2005-06-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tk.rb: support "tk inactive" sub-command. [for Tcl/Tk8.5a3]nagai2005-06-152-1/+117
| | | | | | | | * ext/tk/tk/namespace.rb: support "namespace path" sub-command and 'namespace ensemble' sub-command. [for Tcl/Tk8.5a3] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil/tkutil.c: forgot update RELEASE_DATEnagai2005-06-141-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil/tkutil.c: add TkUtil::CallbackSubst.subst_arg(m, ...)nagai2005-06-132-1/+142
| | | | | | | | | & _define_attribute_aliases(hash) to get substitution-argument from attributes (e.g. subst_arg(:x,:y,:num,:button) --> "%x %y %b %b "). * ext/tk/lib/tk/event.rb: use _define_attribute_aliases(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/ICONS/icons.rb: fail to create instances ofnagai2005-06-082-1/+10
| | | | | | | Tk::ICONS [ruby-dev:26305]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tile/themes/kroc.{rb,tcl}: also support tile 0.4.ocean2005-06-073-9/+29
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/tile/themes/kroc.{rb,tcl}: support tile 0.5 or later.ocean2005-06-073-52/+116
| | | | | | | ("pixmap" element constructor replaced by "image") git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: slave-ip fails to call proceduresnagai2005-06-071-5/+13
| | | | | | | delegated by master-ip. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/console.rb: create console when requiredocean2005-06-062-1/+22
| | | | | | | * ext/tk/sample/tkextlib/tile/demo.rb: create Console (commit miss?) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/console.rb: create console when requirednagai2005-06-052-0/+5
| | | | | | | * ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: fix typo.nagai2005-06-032-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk Extension.nagai2005-05-3047-4/+316
| | | | | | | | | * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/winpkg.rb: ditto. * ext/tk/lib/tkextlib/*: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_listnagai2005-05-251-1/+55
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJISnagai2005-05-2517-108/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | strings. To avoid the trouble, add arguments to control converting encoding, and do split on a UTF8 string. * ext/tk/lib/multi-tk.rb: modify to attend encoding. * ext/tk/lib/remote-tk.rb: ditto. * ext/tk/lib/tk/itemconfig.rb: ditto. * ext/tk/lib/tk/listbox.rb: ditto. * ext/tk/lib/tk/namespace.rb: ditto. * ext/tk/lib/tk/panedwindow.rb: ditto. * ext/tk/lib/tk/text.rb: ditto. * ext/tk/lib/tk/textmark.rb: ditto. * ext/tk/lib/tk/texttag.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/winfo.rb: ditto. * ext/tk/lib/tkextlib/iwidgets/scrolledlistbox.rb: ditto. * ext/tk/lib/tkextlib/iwidgets/scrolledtext.rb: ditto. * ext/tk/lib/tk.rb: add TkWindow#lower_window/raise_window and Tk#lower_window/raise_window by reason of method-name conflict * ext/tk/lib/tk/canvas.rb: bug fix on TkCanvas#delete when given non-TkcItem arguments. * ext/tk/lib/tkextlib/iwidgets/scrolledcanvas.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: Framework support on MacOS X Tiger.nagai2005-05-232-13/+60
| | | | | | | * ext/tk/README.tcltklib: add description of Framework support options. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/blt/winop.rb: fix typonagai2005-05-102-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb: fix typonagai2005-05-0810-21/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_invoke_core): call Tcl's "::unknown"nagai2005-04-261-16/+61
| | | | | | | command when can't get information of target command. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missocean2005-04-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_RubyExitCommand): exit with status codeocean2005-04-231-2/+3
| | | | | | | via TclTkIp#_eval didn't work. [ruby-talk:139390] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated TCLTKLIB_RELEASE_DATEocean2005-04-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_set_exc_message): fixed memory leak.ocean2005-04-221-1/+2
| | | | | | | * ext/tk/tcltklib.c: eTkCallbackReturn was not initialized. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_finalize): better modification than thenagai2005-04-121-12/+32
| | | | | | | previous commit [ruby-dev:26029]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_finalize): fix SEGV when Tcl_GlobalEval()nagai2005-04-121-9/+15
| | | | | | | modifies the argument string to eval. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_finalize): add existence check of Tcl commandsnagai2005-04-111-3/+16
| | | | | | | before calling Tcl_GlobalEval(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_finalize): adhoc patch to avoid SEGV when exitnagai2005-04-111-4/+4
| | | | | | | on Tcl/Tk8.3.x. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss...ocean2005-04-101-5/+1
| | | | | | | | | | * sample/tkextlib/treectrl/explorer.rb: File.executable? returns true even if it's plain text file. (this function only checks access right) again. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/mailwasher.rb: fixed typo. [ruby-dev:26008]ocean2005-04-092-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: update RELEASE_DATEnagai2005-04-0950-27/+1868
| | | | | | | | | | | | | | | * ext/tk/lib/tk/image.rb: support to create TkImage object without creating a new image object on Tk. * ext/tk/lib/tk/menu.rb: use TkCommandNames on create_self() * ext/tk/lib/tk/root.rb: TkRoot.to_eval() returns '.'. * ext/tk/lib/tk/text.rb: add methods to create a TkText::IndexString from (x, y) coords. * ext/tk/lib/tkextlib/tile.rb: bug fix and update support status. * ext/tk/lib/tkextlib/tile/*.rb: ditto. * ext/tk/sample/tkextlib/tile: New demo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/explorer.rb: File.executable? returns trueocean2005-04-092-10/+7
| | | | | | | even if it's plain text file. (this function only checks access right) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demos-jp/goldberg.rb: reduced text size of "click toocean2005-04-091-2/+2
| | | | | | | continue". [ruby-dev:26003] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/{help,www-options}.rb: fixed typo.ocean2005-04-093-5/+10
| | | | | | | (click or resize column header) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)ocean2005-04-082-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside ofocean2005-04-082-1/+6
| | | | | | | widget, or reenter widget while draggging) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered ↵ocean2005-04-082-11/+12
| | | | | | | | | when node was selected. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: tk::treectrl uses ↵ocean2005-04-083-21/+41
| | | | | | | | | | | | | | | | | | | | | 'afterId' not 'afterID'. * ext/tk/sample/tkextlib/treectrl/random.rb: ditto. * ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: item_firstchild can return empty string. (drag onto leaf node) * ext/tk/sample/tkextlib/treectrl/random.rb: ditto. * ext/tk/sample/tkextlib/treectrl/random.rb: comparation failed at Enumerable#find because of type mismatch. (ex: "10" != 10) * ext/tk/sample/tkextlib/treectrl/random.rb: and some fixes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tkextlib/treectrl/tktreectrl.rb (selection_clear): fixed typo.ocean2005-04-084-6/+15
| | | | | | | | | * sample/tkextlib/treectrl/random.rb: node deselection now works. * sample/tkextlib/treectrl/demo.rb: fixed typo. (popup menu on column header) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/help.rb: fixed typo. (wrong color)ocean2005-04-072-4/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missocean2005-04-071-6/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/treectrl/*.rb: fixed typo. (wrong itemheight)ocean2005-04-077-24/+92
| | | | | | | | * sample/demos-{en,jp}/goldberg.rb: reduced canvas size. [ruby-dev:25992] (written by Hidetoshi NAGAI) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/treectrl/tktreectrl.rb: performance tuning. (call tk_send_without_encocean2005-04-0711-76/+110
| | | | | | | | | | if possible) * sample/tkextlib/treectrl/*.rb: some speed up... cache the result of version checking. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkComm#array2tk_list): accept enc-mode argument toocean2005-04-042-13/+13
| | | | | | | | | | | decide whether convert encoding of each element or not. * ext/tk/lib/tk/variable.rb (TkVariable#value=): fail to convert the encoding of array elements when assign an array to an TkVariable object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/dialog.rb: fixed typo.ocean2005-04-044-4/+15
| | | | | | | | | * ext/tk/lib/tkextlib/tktable/tktable.rb: added Tk::TkTable#selection_present. * ext/tk/sample/tkextlib/vu/dial_demo.rb: renamed as well as vu_demo.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: forgot to update RELEASE_DATEnagai2005-04-028-23/+112
| | | | | | | | | | | | | | * ext/tk/lib/tk/variable.rb: fix namespace trouble when autoloading * ext/tk/lib/tk/palette.rb: define Tcl variable 'tkPalette' as global * ext/tk/lib/tk/dialog.rb: use array2tk_list method when calling Tk.ip_eval. * ext/tk/lib/tk/autoload.rb: add autoload entry 'TkDialogObj' and 'TkWarningObj' * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: support TreeCtrl's cvs head. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'nagai2005-04-017-114/+221
| | | | | | | | | | option without 'widgetname' option to allow creating a widget object which is used as an argument of Tcl/Tk's widget allocation commands. * ext/tk/lib/tk/image.rb (TkImage.initialize): accept 'imagename' option to create a image object by the given name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/ChangeLog.tkextlib: add log of the modification bynagai2005-04-012-2/+22
| | | | | | | | | ocean <ocean@ruby-lang.org>. * ext/tk/sample/tkextlib/treectrl/demo.rb: bridge the gap of Hash#index or Hash#key between ruby 1.8 and 1.9 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tkextlib/blt/component.rb: bug fix on treatment ofnagai2005-04-013-79/+2387
| | | | | | | | component objects. * sample/tkextlib/blt/graph6.rb: a new sample script. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/treectrl/demo.rb: should use Hash#index.ocean2005-03-312-3/+6
| | | | | | | | | * ext/tk/sample/tkextlib/treectrl/demo.rb: TkImage was not cached properly. * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/iwidgets/sample/hierarchy.rb: show basenamenagai2005-03-315-10/+63
| | | | | | | | | | | | only [ruby-dev:25970] * sample/tkextlib/treectrl/demo.rb: add check for existence of 'backgroundimage' option. * sample/tkextlib/treectrl/bitmaps.rb: ditto. * sample/tkextlib/treectrl/outlook-newgroup.rb: lack of '%I' event callback argument. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/tkextlib/iwidgets/sample/hierarchy.rb: fail to treatnagai2005-03-302-4/+9
| | | | | | | Japanese (i18n?) filenames. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e