summaryrefslogtreecommitdiffstats
path: root/ext/tk
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * ext/tk/tcltklib.c: add TclTkIp#_create_console() method to createnagai2005-03-3016-418/+571
| | | | | | | | | | | | | a Tcl/Tk's console window. * ext/tk/lib/multi-tk.rb: support TclTkIp#_create_console() method. * ext/tk/lib/remote-tk.rb: ditto. * ext/tk/lib/tk/console.rb: ditto. * ext/tk/lib/tk.rb: update RELEASE_DATE * ext/tk/sample/demo-*/check2.rb: use 'return' in the Proc object. * ext/tk/sample/tkextlib/**: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tkextlib/blt/component.rb: cannot create elements exceptnagai2005-03-299-48/+537
| | | | | | | | | | | | | | default type of element. * lib/tkextlib/blt/barchart.rb: ditto. * lib/tkextlib/blt/graph.rb: ditto. * lib/tkextlib/blt/stripchart.rb: ditto. * lib/tkextlib/blt/component.rb: axis command option gets proper object type of arguments. * sample/tkextlib/blt/calendar.rb: new sample. * sample/tkextlib/blt/pareto.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/iwidgets/notebook.rb: fixed typo.ocean2005-03-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added as binary (from ruby_1_8)ocean2005-03-273-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed temporalyocean2005-03-273-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whethernagai2005-03-2694-208/+5854
| | | | | | | | | | | | | | | | | | | | | | | | | | | a class is available for a callback entry. * ext/tk/lib/tk.rb (after_cancel): add Tk.after_cancel(afterID) method. * ext/tk/lib/tk.rb (array2tk_list): change from private module method of TkComm to public module method. * ext/tk/lib/tk.rb (cget): add check that slot argument is not empty string. * ext/tk/lib/tk.rb (configinfo): ditto. * ext/tk/lib/tk/itemconfig.rb (itemcget): add check that slot argument is not empty string. * ext/tk/lib/tk/itemconfig.rb (itemconfiginfo): ditto. * ext/tk/lib/tk/entry.rb: add TkEntry#icursor and icursor= (alias of cursor and cursor= method). * ext/tk/lib/tk/font.rb: improve font treatment when the font name is empty string. * ext/tk/lib/tk/variable.rb: add :variable, :window and :procedure type. * ext/tk/lib/tk/variable.rb: improve treatment of array-type tkvariable. * ext/tk/lib/tkextlib/blt.rb: add commands for zooming. * ext/tk/lib/tkextlib/blt/*: bug fix. * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and add methods to call TreeCtrl commands for bindings. * ext/tk/sample/tkextlib/blt/*: new sample scritps. * ext/tk/sample/tkextlib/treectrl/*: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/font.rb: add some TkFont class methods to get fontnagai2005-03-184-434/+1286
| | | | | | | | | information without creating a TkFont object. * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and define some classes for components of Tk::TreeCtrl git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: call wrong method innagai2005-03-162-27/+32
| | | | | | | Tk::TreeCtrl#*_configinfo and current_*_configinfo method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and suppotnagai2005-03-163-87/+257
| | | | | | | | | TkTreeCtrl-1.1 * ext/tk/lib/tkextlib/SUPPORT_STATUS: change the supported version of TkTreeCtrl extension git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/SUPPORT_STATUS: change the support status ofnagai2005-03-151-2/+2
| | | | | | | TkImg extension git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tkimg/*: Tk::Img extension samplenagai2005-03-153-0/+1522
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e