summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/lib/tk/namespace.rb: bug fixnagai2004-08-032-10/+30
| | | | | | | * ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: add Tk::TreeCtrl.loupe git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/msgcat.rb (set_translation): bug fix (fail to setnagai2004-08-021-12/+25
| | | | | | | trans_str to the same as src_str when trans_str is not given.) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c(lib_fromUTF8_core): raise ArgumentError whennagai2004-07-301-2/+9
| | | | | | | | | | the unknown encoding name is given. * ext/tcltklib/tcltklib.c(lib_toUTF8_core): ditto. * ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertfrom): bug fix. * ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertto): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/pkg_checker.rb: improve the check processnagai2004-07-291-9/+64
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/validate.rb: accept a Method object for the validatecommand optionnagai2004-07-285-10/+234
| | | | | | | * ext/tk/lib/tkextlib/winico.rb: add winico extension support git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])nagai2004-07-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add TclX extension support (partially)nagai2004-07-234-14/+102
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * TkMsgCatalog.callback: bug fix (wrong number of argument)nagai2004-07-181-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: TkVariable#ref returns a TkVariable objectnagai2004-07-171-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb(module TkObjecct): extend TkCore modulenagai2004-07-161-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tktable/spreadsheet.rb: add a new samplenagai2004-07-152-4/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/, ext/tcltklib/: bug fixnagai2004-07-1558-160/+3866
| | | | | | | | | | | | | | | | | | * ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks. * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier * ext/tk/lib/tk.rb (_genobj_for_tkwidget): support autoload Tk ext classes * ext/tk/lib/tk/canvas.rb and so on: remove the parent widget type check for items (e.g. canvas items; depends on the class) to avoid some troubles on Tk extension widget class definition. * ext/tk/lib/tkextlib/: add Iwidget and TkTable extension support * ext/tk/sample/tkextlib/: add samples of Iwidget and TkTable git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks.nagai2004-07-0933-20/+963
| | | | | | | | | | | * ext/tk/lib/tk/msgcat.rb: ditto. * ext/tk/lib/tk/variable.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. * ext/tk/lib/tk/validation.rb: add Tk::ValidateConfigure.__def_validcmd() to define validatecommand methods easier git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib : bug fixnagai2004-07-0838-110/+1995
| | | | | | | | | | * ext/tk/lib/tkextlib/itcl : add [incr Tcl] support * ext/tk/lib/tkextlib/itk : add [incr Tk] support * ext/tk/lib/tkextlib/iwidgets : midway point of [incr Widgets] support * ext/tk/sample/tkextlib/iwidgets : very simple examples of [incr Widgets] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tktrans.rb,eban2004-07-062-2/+2
| | | | | | | ext/tk/lib/tkextlib/treectrl.rb: fix syntax errors. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib : improve framework of developping Tcl/Tk extension wrappersnagai2004-07-06116-413/+3235
| | | | | | | * BWidget extension support on Ruby/Tk git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tkDND.rb: fix syntax error.eban2004-07-031-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tcltklib : bug fixnagai2004-07-0186-558/+7738
| | | | | | | * ext/tk/lib/tk : bug fix and add Tcl/Tk extension support libraries git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: bug fix (TkWindow#grab)nagai2004-06-151-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/remote-tk.rb: bug fixnagai2004-06-141-20/+47
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb: [EXPERIMENTAL] MacOS X (darwin) supportnagai2004-06-1211-159/+533
| | | | | | | | | | | | | | * ext/tcltklib/tcltklib.c: fix thread trouble on callback proc, and eliminate warning about instance variable access * ext/tk/lib/tk/menubar.rb: improve supported menu_spec * ext/tk/lib/tk/menuspec.rb: [add] menu_spec support library * ext/tk/lib/tk/root.rb: add menu_spec support * ext/tk/lib/tk/text.rb: bug fix * ext/tk/lib/tk/toplevel.rb: add menu_spec support * ext/tk/sample/menubar?.rb: [add] sample of menu_spec usage git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.appsend_deny and improve Tk.rb_appsendnagai2004-05-2115-42/+518
| | | | | | | | | * ext/tk/lib/tk.rb, ext/tk/lib/tk/*.rb : replace obj.send() -> obj.__send__() * ext/tk/lib/remote-tk.rb: add a new library which create an object to control a Tk interpreter on the other process git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: change permition of TkObject#tk_send from private to publicnagai2004-05-191-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.nagai2004-05-141-111/+85
| | | | | | | | | | | | | Now, supports all of the followings. TkcLine.new(c, 0, 0, 100, 100, :fill=>'red') TkcLine.new(c, [0, 0, 100, 100], :fill=>'red') TkcLine.new(c, [0, 0], [100, 100], :fill=>'red') TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red') TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red') TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red') git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/composite.rb: improve configure methods. (based on the ↵nagai2004-05-121-17/+246
| | | | | | proposal of [ruby-talk:99671]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * renewal Ruby/Tknagai2004-05-0179-9667/+13277
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: en-bugged at last commit (Feb 11 23:24:22 2004)nagai2004-02-131-16/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb (TkComm::tk_split_list): suppress a warning.nobu2004-02-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: properly treat a Tcl/Tk's string with escapingnagai2004-02-111-25/+108
| | | | | | | special characters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: use $0 as the default application class name.nagai2004-01-131-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: use epath for embedded windows of TkPanedWindow.nagai2004-01-073-14/+78
| | | | | | | | * ext/tk/lib/tktext.rb: use epath for embedded windows. * ext/tk/lib/tkcanvas.rb: use epath for window items. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.matz2004-01-021-1/+1
| | | | | | | | | | | | [ruby-dev:22476] * io.c (argf_eof): ARGF.eof? should not have any side effect. [ruby-dev:22469] * io.c (argf_each_byte): should return self. [ruby-dev:22465] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add new methods (TkScrollbar#assign, assign_list)nagai2003-12-201-0/+53
| | | | | | | * ext/tk/sample/tkmultilistframe.rb: use TkScrollbar#assign method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * condition bug of if statement on {pack,grid}_propagate methodsnagai2003-12-161-6/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * overrided instance methods, which are private methods on the supernagai2003-12-096-0/+55
| | | | | | | class, are changed to 'private' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 'format'==>'Kernel.format' (avoid override trouble)nagai2003-12-035-63/+64
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: bug fix [ruby-talk:86746]nagai2003-11-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkafter.rb: bug fix on TkTimer#cancel_on_exception=(mode).nagai2003-11-271-20/+22
| | | | | | | | TkTimer#wait recieves the exception of the callback. The exception is kept on @return_value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.grab_release and fix bug of TkCompositenagai2003-11-222-3/+6
| | | | | | | | | * ext/tk/lib/tkafter.rb: bug fix * ext/tk/sample/tkcombobox.rb: new sample script * ext/tcltklib/tcltklib.c: add native thread check git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkentry.rb: fix the encoding trouble of percentnagai2003-11-212-5/+12
| | | | | | | | substitutions on validatecommand option of TkEntry widget * ext/tk/lib/tk.rb: fix bug on {pack|grid}_propagate() method git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix (en-bugged at 2003/11/07)nagai2003-11-142-9/+13
| | | | | | | * ext/tk/lib/tkdialog.rb: TkDialog.new accepts the parent widget [ruby-talk:85066] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb,multi-tk.rb: stop freezing some classesnagai2003-11-122-10/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: raise an exception when creating TkWindownagai2003-11-111-1/+2
| | | | | | | object, because TkWindow class is an abstract class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in, eval.c, signal.c: : add '--with-pthread-ext' optionnagai2003-11-052-0/+22
| | | | | | | | | | | to fix the pthread trouble on 'tcltklib' ext/tcltklib/README.1st: add the description of '--with-pthread-ext' ext/tk/lib/tktext.rb : add TkText#text_copy, text_cut, text_paste to support Tcl/Tk8.4's tk_textCopy, tk_textCut, tk_textPaste ext/tk/lib/tk.rb : add TkMenu#set_focus support Tcl/Tk's tk_menuSetFocus git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add TkRoot.destroynagai2003-10-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bug fixnagai2003-10-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add some documentsnagai2003-10-171-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* consistent parentheses in assignment RHS.matz2003-10-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (bug fix) instance variable @frame was used without initializing onnagai2003-10-161-1/+2
| | | | | | | TkComposite module git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* If $DEBUG == true and some exception is caused in a callbacknagai2003-10-161-1/+17
| | | | | | | | operation, Ruby/Tk shows a (verbose) backtrace information on the callback process. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e