|
From: Arnulf W. <ar...@wi...> - 2010-03-19 12:29:03
|
Am Freitag 19 März 2010 09:08:27 schrieb Arnulf Wiedemann:
> Am Donnerstag 18 März 2010 17:38:32 schrieb Reinhard Max:
> > Hi,
> >
> > On Thu, 18 Mar 2010 at 11:51, Arnulf Wiedemann wrote:
> > > I have built a new version of itcl tagged itcl-4-0b4 in cvs,
> >
> > itk4.0b4 doesn't built against an installed build of itcl4.0b4,
> > because some header files that are referenced by itclInt.h don't get
> > installed along with it. Fixed by the first attached patch.
> >
> > Then, I was getting segfaults from CallItclObjectCmd() when using
> > 4.0b4 with Tcl HEAD as of yesterday. Fixed by the second attached
> > patch.
> >
> > Then, I found that 4.0b4 breaks [info complete] when used inside a
> > method, because the arguments get expanded somewhere along the way:
> >
> > --- snip ---
> > package require Itcl
> >
> > ::itcl::class foo {
> >
> > public method bar {a} {
> > info complete $a
> > }
> > }
> > foo myfoo
> > myfoo bar {bla blubb}
> > --- snap ---
> > $ tclsh ./check.tcl
> > wrong # args: should be "::info complete command"
> > while executing
> > "::info complete bla blubb"
> > ("uplevel" body line 1)
> > invoked from within
> > "::itcl::builtin::Info {*}$args"
> > (object "::myfoo" procedure "::foo::info" body line 1)
> > invoked from within
> > "info complete $a"
> > (object "::myfoo" method "::foo::bar" body line 2)
> > invoked from within
> > "myfoo bar {bla blubb}"
> > (file "./check.tcl" line 8)
> > --- snup ---
> >
> >
> > cu
> > Reinhard
>
> I have integrated your patches and fixed the "info complete" problem.
> Thanks for the patches. I will add the modifed manuals from dkf and then
> build new tar balls.
>
> Arnulf
>
> ---------------------------------------------------------------------------
> --- Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Tcl-Core mailing list
> Tcl...@li...
> https://lists.sourceforge.net/lists/listinfo/tcl-core
>
I have now also integrated the doc changes from dkf (thanks to Donal), and
have added a new tag in csv: itcl-4-0b41. I have also uploaded a new tarball
to sourceforge (same version as before as there were only 2 downloads besides
Reinhard)
Arnulf
P.S.: @Reinhard, do you have plans to attend European Tcl Conference in
Strasbourg? I will be there.
|