summaryrefslogtreecommitdiff
path: root/ext/tk
AgeCommit message (Collapse)Author
2005-06-03This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-03* ext/tk/lib/multi-tk.rb: fix typo.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-30* ext/tk/lib/macpkg.rb: add PACKAGE_NAME information of Tcl/Tk Extension.nagai
* ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/winpkg.rb: ditto. * ext/tk/lib/tkextlib/*: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25* ext/tk/lib/tk.rb: add shortcut-methods of tk_call + tk_split_listnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-25* ext/tk/lib/tk.rb: TkComm#tk_split_*list fail to split a kind of SJISnagai
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-10* ext/tk/lib/tkextlib/blt/winop.rb: fix typonagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-08* ext/tk/lib/tk/timer.rb: fix typonagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-10commit miss...ocean
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/tkextlib/treectrl/mailwasher.rb: fixed typo. [ruby-dev:26008]ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/lib/tk.rb: update RELEASE_DATEnagai
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/tkextlib/treectrl/explorer.rb: File.executable? returns trueocean
even if it's plain text file. (this function only checks access right) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/demos-jp/goldberg.rb: reduced text size of "click toocean
continue". [ruby-dev:26003] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-09* ext/tk/sample/tkextlib/treectrl/{help,www-options}.rb: fixed typo.ocean
(click or resize column header) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/imovie.rb: fixed typo. (click on clip title)ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. (drop node outside ofocean
widget, or reenter widget while draggging) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/outlook-newgrounp.rb: image had disappered ↵ocean
when node was selected. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* ext/tk/sample/tkextlib/treectrl/outlook-newgroup.rb: tk::treectrl uses ↵ocean
'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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-08* lib/tkextlib/treectrl/tktreectrl.rb (selection_clear): fixed typo.ocean
* sample/tkextlib/treectrl/random.rb: node deselection now works. * sample/tkextlib/treectrl/demo.rb: fixed typo. (popup menu on column header) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* ext/tk/sample/tkextlib/treectrl/help.rb: fixed typo. (wrong color)ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* ext/tk/sample/tkextlib/treectrl/*.rb: fixed typo. (wrong itemheight)ocean
* ext/tk/sample/demos-{en,jp}/goldberg.rb: reduced canvas size. [ruby-dev:25992] (written by Hidetoshi NAGAI) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-07* lib/treectrl/tktreectrl.rb: performance tuning. (call tk_send_without_encocean
if possible) * sample/tkextlib/treectrl/*.rb: some speed up... cache the result of version checking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-04* ext/tk/lib/tk.rb (TkComm#array2tk_list): accept enc-mode argument toocean
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-04* ext/tk/lib/tk/dialog.rb: fixed typo.ocean
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-04This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-02* ext/tk/lib/tk.rb: forgot to update RELEASE_DATEnagai
* 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-01* ext/tk/lib/tk.rb (TkWindow.initialize): accept 'without_creating'nagai
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-01* ext/tk/ChangeLog.tkextlib: add log of the modification bynagai
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-01* lib/tkextlib/blt/component.rb: bug fix on treatment ofnagai
component objects. * sample/tkextlib/blt/graph6.rb: a new sample script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-31* ext/tk/sample/tkextlib/treectrl/demo.rb: should use Hash#index.ocean
* ext/tk/sample/tkextlib/treectrl/demo.rb: TkImage was not cached properly. * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-31* sample/tkextlib/iwidgets/sample/hierarchy.rb: show basenamenagai
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30* sample/tkextlib/iwidgets/sample/hierarchy.rb: fail to treatnagai
Japanese (i18n?) filenames. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30* ext/tk/ChangeLog.tkextlib: commit miss.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30* ext/tcltklib/tcltklib.c: add TclTkIp#_create_console() method tonagai
create 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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-29* lib/tkextlib/blt/component.rb: cannot create elements exceptnagai
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-28* ext/tk/lib/tkextlib/iwidgets/notebook.rb: fixed typo.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-26* ext/tk/lib/tk.rb (_callback_entry_class?): add for checking whethernagai
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-18* ext/tk/lib/tk/font.rb: add some TkFont class methods to get fontnagai
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: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: call wrong method innagai
Tk::TreeCtrl#*_configinfo and current_*_configinfo method git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-16* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: bug fix and suppotnagai
TkTreeCtrl-1.1 * ext/tk/lib/tkextlib/SUPPORT_STATUS: change the supported version of TkTreeCtrl extension git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15* ext/tk/lib/tkextlib/SUPPORT_STATUS: change the support status ofnagai
TkImg extension git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15* ext/tk/sample/tkextlib/tkimg/*: Tk::Img extension samplenagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-15* ext/tk/tkutil.c (ary2list): give wrong arguments to hash2kv()nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-14* ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_valuenagai
when restarting * ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-14* ext/tk/lib/tk/timer.rb (TkRTTimer): forgot to reset the callbacknagai
time. So, 'continue' do all callbacks between 'stop' and 'continue'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-13* ext/tk/lib/tk/timer.rb (TkRTTimer): correct calculation of offsetnagai
value. get a little better accuracy. * ext/tk/sample/demos-en/widget: use a binding with no local variables when eval a sample script. * ext/tk/sample/demos-en/bind.rb: ditto. * ext/tk/sample/demos-en/tcolor: ditto. * ext/tk/sample/demos-jp/widget: ditto. * ext/tk/sample/demos-jp/bind.rb: ditto. * ext/tk/sample/demos-jp/tcolor: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-10* ext/tcltklib/tcltklib.c (lib_eventloop_ensure): mis-delete a timernagai
handler when exit from a recursive called eventloop * ext/tk/lib/tk/timer.rb: new TkRTTimer class, which can works for a realtime operation * ext/tk/sample/tkrttimer.rb: sample of TkRTTimer class * ext/tk/lib/tk/textmark.rb: move TkTextMark#+ and TkTextMark#- to TkText::IndexModMethods * ext/tk/lib/tk/text.rb: improve TkTextMark#+ and TkTextMark#-, and add them to TkText::IndexModMethods module * ext/tk/sample/tktextio.rb: add test part of "seek by text index modifiers" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-10This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09* ext/tk/sample/demo-jp/floor.rb: bug on scrollbar assignmentnagai
* ext/tk/sample/demo-jp/floor2.rb: ditto * ext/tk/sample/demo-en/floor.rb: ditto * ext/tk/sample/demo-en/floor2.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09* ext/tk/sample/tktextio.rb: add show_mode which means that see wherenagai
when changing file position. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-09* ext/tk/sample/tktextio.rb: fix bug of handling 'end' position.nagai
support initial text, overwrite setting and pos_gravity control. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e