nagai
fca9326807
* ext/tcltklib/tcltklib.c: remove dangerous 'rb_jump_tag's.
...
* ext/tk/lib/tk.rb: add __val2ruby_optkeys and __ruby2val_optkeys to
help to convert option values between ruby and tcl.
* ext/tk/lib/tk/itemconfig.rb: add __item_val2ruby_optkeys and
__item_ruby2val_optkeys to help to convert option values between
ruby and tcl.
* ext/tk/lib/tk/radiobutton.rb: use __ruby2val_optkeys for 'variable'
option (for the reason of backward compatibility).
* ext/tk/lib/tk/composite.rb: clarify the arguments of super().
* ext/tk/lib/tk/spinbox.rb: ditto.
* ext/tk/lib/tk/text.rb: ditto.
* ext/tk/lib/tk/validation.rb: ditto.
* ext/tk/lib/tkextlib/*: support to treat tkvariable-type
configure options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-09 06:16:04 +00:00
nagai
3757005cec
2005-08-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-09 06:15:53 +00:00
ocean
be972f016c
* ext/tcltklib/tcltklib.c: restored some DUMPs
...
* ext/tcltklib/tcltklib.c (ip_ruby_cmd): moved rb_ary_new2 because this
raises exception if argc < 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08 16:19:02 +00:00
nahi
474cca894f
* test/ruby/test_method.rb: added. [ruby-dev:26761]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08 11:44:04 +00:00
(no author)
01e541cc69
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08 11:44:04 +00:00
nahi
0740e8ae10
2005-08-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08 11:43:59 +00:00
nahi
7968500dba
* test/ruby/test_method.rb: added. [ruby-dev:26761]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-08 11:43:56 +00:00
nahi
aa7154de49
* test/ruby/test_super.rb: added from HEAD. [ruby-dev:26743]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-07 14:51:41 +00:00
suke
da40e849a3
2005-08-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-06 16:35:42 +00:00
suke
663b69c5a9
should set only one handler in WIN32OLE_EVENT#on_event
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-06 16:35:38 +00:00
ocean
8cccadd659
* ext/tcltklib/tcltklib.c: combined tcl_protect and tcl_check_result.
...
[ruby-dev:26753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-06 16:26:31 +00:00
ocean
0c0bd267ac
commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-06 15:00:35 +00:00
ocean
f2db02042b
* ext/tk/lib/{tk.rb,tk/itemconfig.rb}: configure creates
...
TkVariable if key name is 'variable' or 'textvariable'
by default. [ruby-dev:26749]
* ext/tk/lib/tk/{label,radiobutton}.rb: removed its own
{variable,textvariable} function.
* ext/tk/lib/tk/variable.rb: retains backward conpatibility.
(written by Hidetoshi NAGAI)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-06 03:44:00 +00:00
ocean
7d917b1f4d
2005-08-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-06 03:43:55 +00:00
ocean
0ffbf6bca4
* ext/tcltklib/tcltklib.c: rectoring - tcl_protect.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05 11:22:18 +00:00
ocean
afb2521096
* ext/tcltklib/tcltklib.c: refactoring - extracted status check as function.
...
(tcl_check_result) ... previous commit is actually "extracted protect call"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05 09:20:55 +00:00
ocean
21f3b18a88
* ext/tcltklib/tcltklib.c: refactoring - extracted status check as function. (tcl_protect)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05 08:13:52 +00:00
ocean
4d11a486ae
* win32/win32.c: just uniformed method style.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05 04:19:22 +00:00
ocean
499b7d852a
* ext/tcltklib/tcltklib.c: fixed memory leak when tk_funcall raised
...
exception. (copies argv into heap in tk_funcall instead of
caller)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05 03:52:37 +00:00
usa
722a560264
* lib/mkmf.rb (create_makefile): need to convert path separetor
...
before invoking install command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-05 03:43:34 +00:00
ocean
a08706604e
* ext/tcltklib/tcltklib.c: refactoring - extract ruby string <->
...
tcl object conversion as get_str_from_obj and get_obj_from_str.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04 15:28:44 +00:00
nobu
aa735c9125
* extmk.rb (extmake): needs to be wrapped in an Array.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04 15:20:10 +00:00
nobu
af26b7db47
2005-08-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04 15:20:05 +00:00
nagai
31b2baaefe
* ext/tcltklib/tcltklib.c: cannot compile for Tcl7.6/Tk4.2.
...
* ext/tcltklib/tcltklib.c: add nativethread consistency check.
* ext/tcltklib/stubs.c: ditto.
* ext/tk/lib/tk.rb: forgot to define TclTkIp.encoding and encoding=
when Tcl is 7.6 or 8.0.
* ext/tk/lib/tk/wm.rb: support to make some methods as options of
root or toplevel widget. [ruby-talk:150336]
* ext/tk/lib/tk/root.rb: ditto.
* ext/tk/lib/tk/toplevel.rb: ditto.
* ext/tk/lib/tkextlib/SUPPRT_STATUS: update RELEASE_DATE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04 09:41:34 +00:00
ocean
4a97cf6eab
reverted. [ruby-dev:26726]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04 05:04:53 +00:00
ocean
65aff4dc5e
just fixed indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-04 04:54:08 +00:00
ocean
bdb21472f1
* ext/tk/sample/tkextlib/tile/demo.rb: followed previous changes.
...
* 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
2005-08-04 04:48:13 +00:00
ocean
b214246bf1
* ext/tk/sample/tkextlib/tile/demo.rb: fixed: Tk::Tile::TProgressbar is
...
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
2005-08-04 04:16:27 +00:00
nobu
d042ab1adc
* ext/extmk.rb (extmake): should not modify $mflags for each
...
extentions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 23:04:16 +00:00
nobu
e869ff20a3
* common.mk, Makefile.in, {bcc32,win32,wince}/Makefile.sub: integrated
...
macro definitions.
* bcc32/Makefile.sub: LIBRUBY_SO should use DLDOBJS, not EXTOBJS.
* {win32,wince}/Makefile.sub: separate config.h for compiler versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 15:27:13 +00:00
nobu
a0d58fef04
2005-08-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 15:27:07 +00:00
ocean
fda231fe22
fixed command name, and attached link to the gnuwin32 site.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 13:29:08 +00:00
ocean
62e0c87898
* ext/tk/lib/tk/variable.rb: TkVariable#trace didn't work on
...
TkVariable retrived from TkVariable.new_hash.ref. [ruby-dev:26721]
(written by Hidetoshi NAGAI)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-03 13:10:48 +00:00
matz
0d4264f717
* ext/socket/socket.c (ruby_connect): revert [ruby-talk:111654]
...
changes at 2004-09-07. [ruby-dev:26656]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02 23:25:35 +00:00
matz
fdd8dcc93d
2005-08-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02 23:24:22 +00:00
ocean
731a7bffa5
* ext/tk/lib/tkextlib/tile/treeview.rb: Tk::Tile::Treeview#headingconfigure
...
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
2005-08-02 21:05:17 +00:00
ocean
ea72d0391b
* ext/tk/lib/tkextlib/tile/tprogressbar.rb: Tk::Tile::TProgressbar#start
...
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
2005-08-02 11:49:46 +00:00
ocean
e91b4b801e
* ext/tk/sample/tkextlib/tile/demo.rb: added repeating buttons demo.
...
* ext/tk/sample/tkextlib/tile/repeater.tcl: ditto. (new file)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02 06:51:27 +00:00
(no author)
cdc596afdd
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02 06:51:27 +00:00
ocean
42d2b628dd
* ext/tk/sample/tkextlib/tile/demo.rb: added repeating buttons demo.
...
* 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
2005-08-02 06:51:26 +00:00
ocean
94c6875734
* ext/tcltklib/tcltklib.c: use Tcl_[GS]etVar2Ex instead of
...
Tcl_Obj[GS]etVar2. (avoid Tcl_NewStringObj on supported platforms)
* ext/tcltklib/tcltklib.c: use ip_{get,set,unset}_variable2_core from
ip_{get,set,unset}_variable.
* ext/tcltklib/tcltklib.c: replaced Tcl_Panic with rb_bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-02 01:26:02 +00:00
gotoyuzo
95a17fedb5
* lib/ping.rb (Ping.pingecho): should rescue StandardError.
...
[ruby-dev:26677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01 16:42:48 +00:00
gotoyuzo
fa911fc877
2005-08-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01 16:42:43 +00:00
ocean
e5eff1ef13
* ext/tk/lib/tkextlib/tile.rb: fixed autoload for Treeview.
...
* 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
2005-08-01 10:25:51 +00:00
ocean
ced5d5db43
* ext/tcltklib/tcltklib.c: refactoring - replaced rb_ivar_defined &
...
rb_ivar_get with single rb_attr_get call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01 10:10:58 +00:00
ocean
fb31b5d3ec
* ext/tcltklib/tcltklib.c (Tcl_GetStringResult): refactoring - define
...
alternative macro on Tcl7.x or earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01 09:48:54 +00:00
ocean
e25c88e5a4
* ext/tk/sample/tkextlib/tile/demo.rb: added combobox demo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01 06:35:15 +00:00
ocean
3c463ee68e
add ML number
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01 05:02:38 +00:00
ocean
cc7bf2b2e9
* ext/tcltklib/tcltklib.c (deleted_ip): refactoring - interpreter
...
deletion check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-01 04:59:19 +00:00
seki
711b655f38
use private_methods and protected_methods instead of respond_to? to check
...
method visibility. [ruby-dev:26616]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-07-31 16:19:42 +00:00