No registered users in community xowiki
in last 10 minutes
in last 10 minutes
Re: [Xotcl] XOTcl and Tcl 8.6
From: Koen Danckaert <koen_at_retarget.com>
Date: Tue, 09 Feb 2010 17:37:02 +0100
Dear Gustaf,
I have seen the slides on XOTcl 2.0 and am looking forward to it :-)
However, in the meantime, I wanted to get an existing version of XOTcl working with Tcl 8.6.
XOTcl 1.6.5 does not work with Tcl 8.6 because it requires a function which is not present in Tcl8.6 anymore: TclObjInterpProcCore().
So I switched back to an earlier version of XOTcl (1.6.1), which apparently does not require this function.
I still had to apply some small modifications:
- replacing interp->errorLine by Tcl_GetErrorLine(interp)
- adding some "const" qualifications
but finally managed to compile XOTcl 1.6.1 with Tcl8.6.
If you're interested, I can send you the patch.
Thanks for all the good work on XOTcl !
Best regards,
Koen Danckaert
Gustaf Neumann wrote:
> Dear Koen,
>
> we are busy working on xotcl 2.0, which works for tcl 8.5 and tcl 8.6
> (we will most probably not be able to make 2.0 work with tcl 8.4;
> the 8.4 support is still in the 2.0 code base, but getting it to work
> with 8.4 would require a lot of work, so we will skip it).
>
> i am currently in the midst of reworking slots, which is the
> last biggy before the release (which i hoped to get finished
> by end of 2009)). There will be some more polishing on
> the interfaces and the code, documentation is at an early
> state, so end of q1 seems in reach for the release.
>
> xotcl 2.0 is quite different from xotcl 1.*, but there
> is an xotcl 1.* layer available, which is highly backwards
> compatible (i have tested it e.g. against xotcl-core and xowiki
> inside openacs, about 46000 lines of code). in case, you have
> not seen the slides an the xotcl 2.0 paper, drop me a note.
>
> if you have interest on getting access to the development version
> of xotcl 2.0, i can give you access to the git repository.
>
> -gustaf neumann
>
> Am 08.02.10 18:17, schrieb Koen Danckaert:
>> Dear XOTcl developers,
>>
>> I'm trying to use XOTcl (1.6.5) with Tcl8.6.
>>
>> Apparently XOTcl does not compile with Tcl8.6, but on Linux, I can get it to work by using a version compiled for Tcl8.5.4.
>>
>> However, this is not the case on Windows: loading XOTcl will make Tcl8.6 crash there.
>>
>> I also tried to use the xotcl165.dll provided by Activestate in the Tcl8.6b1 distribution. This seems to work with Tcl8.6b1 indeed, but not with newer versions of Tcl fetched from CVS (which I need).
>>
>> Is it possible today to use XOTcl in a recent Tcl8.6 ?
>> Or are there any plans to update XOTcl ?
>>
>> Best regards,
>> Koen Danckaert
>> _______________________________________________
>> Xotcl mailing list
>> Xotcl_at_alice.wu-wien.ac.at
>> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
>>
>
>
Date: Tue, 09 Feb 2010 17:37:02 +0100
Dear Gustaf,
I have seen the slides on XOTcl 2.0 and am looking forward to it :-)
However, in the meantime, I wanted to get an existing version of XOTcl working with Tcl 8.6.
XOTcl 1.6.5 does not work with Tcl 8.6 because it requires a function which is not present in Tcl8.6 anymore: TclObjInterpProcCore().
So I switched back to an earlier version of XOTcl (1.6.1), which apparently does not require this function.
I still had to apply some small modifications:
- replacing interp->errorLine by Tcl_GetErrorLine(interp)
- adding some "const" qualifications
but finally managed to compile XOTcl 1.6.1 with Tcl8.6.
If you're interested, I can send you the patch.
Thanks for all the good work on XOTcl !
Best regards,
Koen Danckaert
Gustaf Neumann wrote:
> Dear Koen,
>
> we are busy working on xotcl 2.0, which works for tcl 8.5 and tcl 8.6
> (we will most probably not be able to make 2.0 work with tcl 8.4;
> the 8.4 support is still in the 2.0 code base, but getting it to work
> with 8.4 would require a lot of work, so we will skip it).
>
> i am currently in the midst of reworking slots, which is the
> last biggy before the release (which i hoped to get finished
> by end of 2009)). There will be some more polishing on
> the interfaces and the code, documentation is at an early
> state, so end of q1 seems in reach for the release.
>
> xotcl 2.0 is quite different from xotcl 1.*, but there
> is an xotcl 1.* layer available, which is highly backwards
> compatible (i have tested it e.g. against xotcl-core and xowiki
> inside openacs, about 46000 lines of code). in case, you have
> not seen the slides an the xotcl 2.0 paper, drop me a note.
>
> if you have interest on getting access to the development version
> of xotcl 2.0, i can give you access to the git repository.
>
> -gustaf neumann
>
> Am 08.02.10 18:17, schrieb Koen Danckaert:
>> Dear XOTcl developers,
>>
>> I'm trying to use XOTcl (1.6.5) with Tcl8.6.
>>
>> Apparently XOTcl does not compile with Tcl8.6, but on Linux, I can get it to work by using a version compiled for Tcl8.5.4.
>>
>> However, this is not the case on Windows: loading XOTcl will make Tcl8.6 crash there.
>>
>> I also tried to use the xotcl165.dll provided by Activestate in the Tcl8.6b1 distribution. This seems to work with Tcl8.6b1 indeed, but not with newer versions of Tcl fetched from CVS (which I need).
>>
>> Is it possible today to use XOTcl in a recent Tcl8.6 ?
>> Or are there any plans to update XOTcl ?
>>
>> Best regards,
>> Koen Danckaert
>> _______________________________________________
>> Xotcl mailing list
>> Xotcl_at_alice.wu-wien.ac.at
>> http://alice.wu-wien.ac.at/mailman/listinfo/xotcl
>>
>
>