T
Takaaki Tateishi
Hello,
Here is a summary of ruby-dev last week.
[ruby-dev:24240] on enabling tcltk-stubs
Hidetoshi Nagai, who is a maintainer of Ruby/Tk, called for help since a
program abort on exit of Tcl/Tk interpreter as follows:
$ /usr/local/bin/ruby -r tcltklib -e 'TclTkIp.new._eval("exit")'
Tcl_Release couldn't find reference for 0x814ed38
A trial fix of this issue was done, and he asked for someone to check
if the library works fine.
Also, he asked for someone to try multi-tk.rb and remote-tk.rb, since
those have been improved from the previous version.
[ruby-dev:24250] DateTime#to_time
Tadayoshi Funaba posted a specification and a prototype of following
methods.
- DateTime#to_time, #to_date
- Date#to_time, #to_datetime
- Time#to_date, #to_datetime
Significant points are as follows:
- It is not ensured that yyy.to_xxx.to_yyy is equal to yyy.
- to_time
* It always returns local time.
* It may not return intended result because of summer time and
leap second.
* 'usec' is rounded.
- to_date and to_datetime
* Time zone information is lost, but time difference is left on
DateTime.
* Leap time is not considerable.
Here is a summary of ruby-dev last week.
[ruby-dev:24240] on enabling tcltk-stubs
Hidetoshi Nagai, who is a maintainer of Ruby/Tk, called for help since a
program abort on exit of Tcl/Tk interpreter as follows:
$ /usr/local/bin/ruby -r tcltklib -e 'TclTkIp.new._eval("exit")'
Tcl_Release couldn't find reference for 0x814ed38
A trial fix of this issue was done, and he asked for someone to check
if the library works fine.
Also, he asked for someone to try multi-tk.rb and remote-tk.rb, since
those have been improved from the previous version.
[ruby-dev:24250] DateTime#to_time
Tadayoshi Funaba posted a specification and a prototype of following
methods.
- DateTime#to_time, #to_date
- Date#to_time, #to_datetime
- Time#to_date, #to_datetime
Significant points are as follows:
- It is not ensured that yyy.to_xxx.to_yyy is equal to yyy.
- to_time
* It always returns local time.
* It may not return intended result because of summer time and
leap second.
* 'usec' is rounded.
- to_date and to_datetime
* Time zone information is lost, but time difference is left on
DateTime.
* Leap time is not considerable.