aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/sample/tkextlib/bwidget/tree.rb: bug fixnagai2004-10-242-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/MANIFEST: add lib/tkextlib/tcllib/ico.rb.eban2004-10-181-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb: TkTimer#start and restart accept a blocknagai2004-10-171-5/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/tcllib: based on Tcllib 1.7nagai2004-10-163-0/+118
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is acceptable.nagai2004-10-151-14/+37
| | | | | | | Add TkTimer.start ( == new + start ). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/*: untabifynagai2004-10-11289-11415/+11445
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/optiondb.rb: make it more securenagai2004-10-071-21/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/scrollbar.rb: When 'set' operation, a scrollbar cannotnagai2004-10-071-2/+11
| | | | | | | | propagate view port information from the source widget (that calls 'set') to other assigned widgets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: When CHILDKILLED and so on, Tk.errorCode returnsnagai2004-10-071-1/+10
| | | | | | | a Fixnum for 2nd element (it's pid) of the return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.errorInfo and Tk.errorCodenagai2004-10-064-2/+18
| | | | | | | * ext/tk/lib/tkextlib/bwidget.rb: bug fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/image.rb: bug fixnagai2004-10-045-1/+83
| | | | | | | * ext/tk/lib/tk/optiondb.rb: support definition of command resources on widgets git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/grid.rb: revive TkGrid.gridnagai2004-10-013-3/+6
| | | | | | | | * ext/tk/lib/tk/pack.rb: revive TkPack.pack * ext/tk/lib/tk/place.rb: revive TkPlace.place git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_init): bug fixnagai2004-09-296-9/+114
| | | | | | | | | | * ext/tk/tkutil.c (get_eval_string_core): accept a Regexp object * ext/tk/lib/multi-tk.rb: fix bug on 'exit' operation * ext/tk/lib/tk/text.rb: 'tksearch' accepts a Regexp object as a matting pattern argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_parser_append_print): should handle prelude.matz2004-09-241-13/+30
| | | | | | | | | | | | | | | | | | | | | | [llama@u01.gate0] * parse.y (rb_parser_while_loop): ditto. * array.c (rb_ary_subseq): original object might be modified after sharing data creation. [ruby-dev:24327] * array.c (rb_ary_replace): ditto. * array.c (ary_make_shared): freeze shared array. [ruby-dev:24325] * struct.c (struct_members): always check struct size and size of members list in the class. [ruby-dev:24320] * string.c (rb_str_sub_bang): check if string is not modified during iteration. [ruby-dev:24315] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: improve exit operationnagai2004-09-171-55/+67
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGV when (thread_)vwait or (thread_)tkwaitnagai2004-09-175-161/+340
| | | | | | | | | | | | * ext/tk/lib/tk.rb: add alias wait_window to wait_destroy * ext/tk/lib/multi-tk.rb: support calling 'mainloop' on slave interpreters (however, the 'real' eventloop must be run on the Default Master IP) * ext/tk/lib/remote-tk.rb: follow the changes of ext/tk/lib/multi-tk.rb * ext/tk/sample/remote-ip_sample2.rb: ditto * ext/tk/sample/tkoptdb-safeTk.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkoptdb-safeTk.rb: fix a bug depend on the changes of MultiTkIpnagai2004-09-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string was en-bugged by thenagai2004-09-142-16/+44
| | | | | | | previous changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix SEGVnagai2004-09-144-109/+230
| | | | | | | | | * ext/tk/lib/multi-tk.rb: improve safe-level handling of argument proc * ext/tk/sample/multi-ip_sample.rb: rename of old 'safe-tk.rb' * ext/tk/sample/safe-tk.rb: new sample script git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: MultiTkIp.new_master and new_slave acceptnagai2004-09-132-21/+76
| | | | | | | safe-level value argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: improve control of preserv/release tcltkipnagai2004-09-121-0/+10
| | | | | | | | * ext/tcltklib/tcltklib.c: store original 'exit' command * ext/tk/tkutil.c: fix(?) SEGV git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: add TclTkIp#allow_ruby_exit? and allow_ruby_exit=nagai2004-09-114-35/+180
| | | | | | | | | | | | | | | * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/remote-tk.rb: ditto. * ext/tcltklib/MANUAL.euc: ditto. * ext/tcltklib/MANUAL.eng: ditto. * ext/tcltklib/tcltklib.c: fix some reasons of SEGV * ext/tk/tkutil.c: ditto. * ext/tk/lib/multi-tk.rb: ditto. * ext/tk/lib/tk/timer.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_init): change flag value for setting 'argv' ↵nagai2004-09-091-0/+29
| | | | | | | | | and 'argv0' variable * ext/tk/lib/remote-tk.rb: follow changes of multi-tk.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c (ip_init): cannot create a IP at level 4nagai2004-09-083-65/+258
| | | | | | | | | | * ext/tk/lib/multi-tk.rb: improve 'exit' operation, security check, and error treatment * ext/tk/lib/multi-tk.rb: allow a trusted slave IP to create slave IPs. * ext/tk/lib/tk/listbox.rb: add TkListbox#value, value=, clear, and erase * ext/tk/lib/tk/text.rb: add TkText#clear and erase git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/menu.rb(TkOptionMenubutton#insert): call correct methodocean2004-09-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: Tk.after makes TkCore::INTERP.tk_cmd_tbl grow ↵nagai2004-09-031-2/+14
| | | | | | [ruby-dev:24207] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: fix typo [ruby-talk:111266]nagai2004-09-024-33/+186
| | | | | | | | * ext/tk/lib/tk/text.rb: fix typo * ext/tk/lib/multi-tk.rb: improve safe-level treatment on slave IPs git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/spinbox.rb: fix typoocean2004-09-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tkutil.c (cbsubst_init): fix memory leakocean2004-08-311-2/+1
| | | | | | | * ext/tk/tkutil.c (cbsubst_get_all_subst_keys): fix SEGV git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: 'restart' method accepts argumentsnagai2004-08-301-6/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: compile error on bcc32 [ruby-dev:24081]nagai2004-08-291-1/+1
| | | | | | | * ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string does not work git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: Fail to treat a hash value of 'font' option.nagai2004-08-192-2/+5
| | | | | | | | * ext/tk/lib/tk.rb: bindinfo cannot return '%' substiturion infomation. * ext/tk/lib/menu.rb: typo bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/validate.rb: accept a Method object for the validatecommand optionnagai2004-07-287-10/+241
| | | | | | | * ext/tk/lib/tkextlib/winico.rb: add winico extension support git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/MANIFEST: added.eban2004-07-241-0/+5
| | | | | | | | | lib/tkextlib/tclx.rb lib/tkextlib/tclx/setup.rb lib/tkextlib/tclx/tclx.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add TclX extension support (partially)nagai2004-07-235-14/+106
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * TkMsgCatalog.callback: bug fix (wrong number of argument)nagai2004-07-181-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rename files to avoid application (cvs and so on) troublesnagai2004-07-168-7/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb(module TkObjecct): extend TkCore modulenagai2004-07-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkextlib/tktable/spreadsheet.rb: add a new samplenagai2004-07-154-4/+149
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/, ext/tcltklib/: bug fixnagai2004-07-15131-182/+5607
| | | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: better operation for SIGINT when processing callbacks.nagai2004-07-0944-20/+1150
| | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add entriesnagai2004-07-081-0/+41
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib : bug fixnagai2004-07-0863-110/+2420
| | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e