Age | Commit message (Collapse) | Author |
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/lib/tkextlib/tile/t*.rb: aliased class names starting with 'T'
to non 'T' ones. (ie. Tk::Tile::TButton -> Tk::Tile::Button)
[ruby-dev:26724]
* ext/tk/lib/tkextlib/tile.rb: ditto. (autoload support)
(Written by Hidetoshi NAGAI)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
supported on tile 0.6 or later, not tile 0.5.
* ext/tk/sample/tkextlib/tile/demo.rb: updated scales demo to use
Tk::Tile::TProgressbar for tile 0.6 or later.
* ext/tk/sample/tkextlib/tile/demo.rb: set some TkVariable default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
is now working and more. [ruby-dev:26716]
* ext/tk/sample/tkextlib/tile/demo.rb: use Tk::Tile::Treeview#headingconfigure
instead of direct Tk.tk_call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
takes optional argument `interval'.
* ext/tk/sample/tkextlib/tile/demo.rb: emulate Tk::Tile::TProgressbar
with Tk::Tile::TProgress in tile 0.4. (repeating buttons demo)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/sample/tkextlib/tile/repeater.tcl: ditto. (new file)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/lib/tkextlib/tile/treeview.rb: replaced `ary2tk_list(items)' with
`*items'.
* ext/tk/sample/tkextlib/tile: added treeview demo. (tile 0.5 or later is
needed) [ruby-dev:26668]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
routine creates a Tcl/Tk interpreter and deletes it. However,
init cost of Tk's MainWindow is not so small. And that makes it
impossible to use libraries written with Tcl functions only on
an environment without a graphical display. This changes support
delaying initalization of Tk_Stubs until the script needs Tk.
* ext/tcltklib/stubs.h: New file. Define prototypes and return
codes of functions on stubs.c.
* ext/tcltklib/tcltklib.c: Support delaying initalization of
Tk_Stubs until the script needs Tk.
* ext/tcltklib/tcltklib.c: Show friendly error messages for errors
on initialization.
* ext/tcltklib/tcltklib.c: Avoid SEGV on ip_finalize() when ruby is
exiting and $DEBUG is true. (Not fix. If you know the reason of
why, please fix it.)
* ext/tk/tkutil.c (ary2list, ary2list2): bug fix on handling of
encoding.
* ext/tk/lib/multi-tk.rb: MultiTkIp#eval_string and bg_eval_string
don't work propery.
* ext/tk/lib/tk.rb: Forget extending Tk::Encoding module to Tk.
* ext/tk/lib/tk/variable.rb: TkVarAccess fails to initialize the
object for an element of a Tcl's array variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
("pixmap" element constructor replaced by "image")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* ext/tk/sample/tkextlib/tile/demo.rb: fix TypeError & create Console
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
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
|
|
continue". [ruby-dev:26003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
(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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
when
node was selected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
'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
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
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
|
|
* 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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
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
|
|
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
|
|
* 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
|
|
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
|
|
Japanese (i18n?) filenames.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
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
|
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
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
|
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
* 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
|
|
when changing file position.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
|
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
|
|
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|