[Xotcl] XOTcl 1.3.5 available

Gustaf Neumann neumann at wu-wien.ac.at
Sat Jan 15 01:49:11 CET 2005


Dear XOTcl Community,

Below is the announcement of XOTcl 1.3.5. This is mostly a maintenance 
and fix release.
Besides these fixes, the biggest change makes the non positional 
argument processing
more compliant to the one of OpenACS.  One can write now
            % Object o
            % o proc foo {-x:boolean -y a b} { ...}
instead of
            % ...
            % o proc foo {-x:boolean -y} {a b} { ...}
Currently, both variants are supported, the latter variant is deprecated and
will be removed in the future.

This version is also a prerequirement of the soon to be released XOTcl
package for OpenACS (integrated with the api and code browser of OpenACS).

best regards
-gustaf neumann
-----
Major changes relative to 1.3.4 are:

  - Qualitative Improvements

     * Improved code quality:
       + fixed possible segmentation violations in non positional
         argument handling
       + moved the Serializer into a namespace such that
            % package req XOTcl
            % package req xotcl::serializer
            Serialize ....
         works without namespace imports (the Serializer is
         still auto-exported, but this will change in the future)
       +

     * Improved Functionality
       + Non-positional arguments can be used in the same argument
         list as positional ones (more compliant with OpenACS).
         One can write now
            % Object o
            % o proc foo {-x:boolean -y a b} { ...}
         instead of
            % ...
            % o proc foo {-x:boolean -y} {a b} { ...}
         All introspection commands will work like before.
         The old syntax (with the additional argument) is deprecated
         and will be dropped in the future.

       + Serializer: support for objects with parent namespaces, which are
         not xotcl objects

       + additional instproc for ::xotcl::Class allinstances
         to return all instances for the actual class



More information about the Xotcl mailing list