[#300] Ruby 1.3.3-990507 — matz <matz@...>
Ruby 1.3.3-990507 is out, check out:
1 message
1999/05/07
[#314] Arity features for Proc object? — matz@... (Yukihiro Matsumoto)
A mail from <yeboah@tu-harburg.de> is somehow rejected by the list
12 messages
1999/05/17
[#315] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
[#316] Re: Arity features for Proc object?
— gotoken@... (GOTO Kentaro)
1999/05/17
In message "[ruby-talk:00315] Re: Arity features for Proc object?"
[#318] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
Hi.
[#319] Re: Arity features for Proc object?
— gotoken@... (GOTO Kentaro)
1999/05/17
In message "[ruby-talk:00318] Re: Arity features for Proc object?"
[#320] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
Hi.
[#323] binding — Pros Yeboah <yeboah@...>
Hi
5 messages
1999/05/18
[#357] thinking aloud — "Bryce Dooley" <thecrow@...>
First off, I think Ruby is a very nice scripting language.
7 messages
1999/05/29
[ruby-talk:00350] Bugs in the Tk interface
From:
Reimer Behrends <behrends@...>
Date:
1999-05-27 06:52:29 UTC
List:
ruby-talk #350
There are a couple of minor bugs in the Tk interface. The enclosed
patch should take care of them, unless I've overlooked something,
but the calls seem to work now.
The patches fix the get method of scrollbars as well as
tag_configure/tag_cget for text widgets.
Also, I think that TkComm::uninstall_cmd() needs to strip the beginning
"rb_out " from its argument -- otherwise creating a lot of callbacks
will leak memory. But as I'm not entirely sure about that (I don't
yet understand the callback interface entirely), I've left it alone
for the time being.
Reimer Behrends
diff -cr tk.rb tk.rb
*** tk.rb Tue Apr 20 04:41:52 1999
--- tk.rb Tue May 25 00:01:15 1999
***************
*** 2116,2122 ****
end
def get
! ary1 = tk_send('get', path).split
ary2 = []
for i in ary1
ary2.push number(i)
--- 2116,2122 ----
end
def get
! ary1 = tk_send('get').split
ary2 = []
for i in ary1
ary2.push number(i)
diff -cr tktext.rb tktext.rb
*** tktext.rb Mon Apr 26 04:42:43 1999
--- tktext.rb Sun May 23 11:48:43 1999
***************
*** 272,278 ****
end
def tag_cget(tag, key)
! tk_tcl2ruby tk_call @t.path, 'tag', 'cget', tag, "-#{key}"
end
def tag_configure(tag, key, val=None)
--- 272,278 ----
end
def tag_cget(tag, key)
! tk_tcl2ruby tk_call @path, 'tag', 'cget', tag, "-#{key}"
end
def tag_configure(tag, key, val=None)
***************
*** 289,295 ****
|| key == 'latinfont' || key == 'asciifont' )
tagfont_configure({key=>val})
else
! tk_call 'tag', 'configure', tag, "-#{key}", val
end
end
end
--- 289,295 ----
|| key == 'latinfont' || key == 'asciifont' )
tagfont_configure({key=>val})
else
! tk_send 'tag', 'configure', tag, "-#{key}", val
end
end
end