Re: [perl-win32-gui-hackers] more 1.1.03 patches
Jeremy White sagte: I'm sure if you ask Aldo for permissions to commit changes, he'll add you (or, indeed anyone else). Attached are todays patches: fix and enhance docs for Timer. fix Kill() do destroy the Timer, not as described before. change default interval to 10 [ms] since 1 is invalid and set to 10 on most NT's. allow circular reference to parent for perl 5.6 (Timer, NotifyIcon). do Kill on Interval(0) as described in Tutorial/Part4. Note that the default AUTOLOAD method should be enhanced to catch any undef $control and call DESTROY, and help in circular refs to the parent. See http://www.perl.com/pub/a/2002/08/07/proxyobject.html Timers will print something like t/05_Menuok 3/3 (in cleanup) Can't call method FETCH on an undefined value at ../Win32/GUI.pm line 2700 during global destruction. because the DESTROY method is not called. This is mainly beautification. 20050705.patch.gz Description: GNU Zip compressed data
Re: [perl-win32-gui-hackers] more 1.1.03 patches
One more Timer test enhancement: test NEM Timers I'm not sure if destroying the parent should kill the children also, but I would like to fix Win32::GUI to have this feature, esp. for Timers which are costly. Petzold talks about max 16 timers per system at once. But not for 1.02. I would say 1.02 is ready. The missing testcases and features can be added later. Reini Urban sagte: Attached are todays patches: fix and enhance docs for Timer. fix Kill() do destroy the Timer, not as described before. change default interval to 10 [ms] since 1 is invalid and set to 10 on most NT's. allow circular reference to parent for perl 5.6 (Timer, NotifyIcon). do Kill on Interval(0) as described in Tutorial/Part4. 05_Timer.t Description: Binary data
Re: [perl-win32-gui-hackers] more 1.1.03 patches
Hi, I'm sure if you ask Aldo for permissions to commit changes, he'll add you (or, indeed anyone else). Cheers (and good work BTW). jez.