nsf

Clone Tools
  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- fixed var resolver/memory leak problem reported by Victor Mayevski - bumped version number to 1.6.5

    • -0
    • +2
    /library/xml/TclExpat-1.1/configure.in
- new info command for Object and Class: "info alias -per-object -definition name" (similar to "info forward"/"info instforward") should probably be moved into a more general "info method -per-object -definition name" - extended regression test

- finished implementtion of "info method -methodtype alias"

- renamed methodType "compiled" to "system" (for system/builtin methods); - saving and maintaining alias command in associative Tcl array ::xotcl::alias - returning aliases to procs and methods via "info methods -defined -methodType alias" (other aliases are still missing, but should be straigth forward with data in associative array)

- added aliastest provided by stefan - handle [self class] in aliased methods properly - use xotcl2 per default in xotclsh

    • -0
    • +252
    /tests/aliastest.xotcl
- doc changes from 1.6.4 release

- added announce file for 1.6.4

- regenerated documentation

- fixed some typos

* Some documentation fixes, added stack example to documentation * Bumped version number to 1.6.4

    • -3260
    • +3727
    /library/store/XOTclGdbm/configure
    • -3255
    • +3723
    /library/store/XOTclSdbm/configure
    • -3255
    • +3723
    /library/xml/TclExpat-1.1/configure
    • -0
    • +2
    /library/xml/TclExpat-1.1/configure.in
- added new file

    • -0
    • +574
    /library/lib/xotcl1.xotcl
- extended genrclAPI to allow enumeration type for nonpos args - changed api of "info methods": added nonpos arg "methodType" possible values: "all", "scripted", "compiled", "alias", "forwarder", "object", "setter" - added compatible scripted "info methods" interface for xotcl1 - "info methods -methodtype alias" not tested and not working

- removed to unneeded ::xotcl::dispatch from predefined.xotcl

- moved xotcl-1.* definition into an own library file - renamed library/lib/changeXOTclVersion.xotcl to library/lib/changeXOTclVersion to ease pkgIndex generation - new function "xotcl::use xotcl1" or "xotcl::use xotcl2" to ease switching between xotcl 1 and 2 - changed library/lib/test to xotcl2 - added for all regression test "xotcl::use xotcl1" instead of "namespace import ::xotcl::*"

    • -0
    • +95
    /library/lib/changeXOTclVersion
    • -95
    • +0
    /library/lib/changeXOTclVersion.xotcl
    • -3687
    • +3225
    /library/store/XOTclGdbm/configure
    • -0
    • +12
    /library/store/XOTclGdbm/configure.in
    • -3686
    • +3223
    /library/store/XOTclSdbm/configure
  1. … 13 more files in changeset.
- added options -defined and -per-object to "info methods" (can be used to query, what methods are defined on the class/object). - removed c-definition of ".info procs" and ".info instprocs" (can be replaced by a ".info methods -defined ?-per-object? -nocmd") - defined an alias method for ::xotcl2::Object - simplified predefined.xotcl further, using more new features

- managing status of import refs in aliased cmds

- added non-positional argument "-object" to ::xotcl::instvar - removed all dependencies to the method "instvar" in predefined - defined "abstract" for xotcl2 similar to classical xotcl1 - simplified exit handlers - use of proc-aliases in predefined - simplefied predefined a little

- added automatic deletion of aliased commands - deletion of aliased procs works, deletion of aliases to procs not yet

- further rearrangement of predefned.xotcl (removed further dependencies from ::xotcl::Object/Class and formed a common definition block)

- some renaming DoDispatch() -> ObjectDispatch() InvokeMethod() -> MethodDispatch() invokeProcMethod() -> ProcMethodDispatch() invokeCmdMethod() -> CmdMethodDispatch()

- white space cleanup

- white space cleanup

- solved contains aliasing problem by defining a separate "conains" for ::xotcl::Object - make the serializer less object system dependent - make slottest regression test work with xotcl2 objects

    • -14
    • +16
    /library/serialize/Serializer.xotcl
- make volatile work with object frames - fix typo in error message

- don't pass arguments to residualargs except when "args" are specified - added "-foo:method,noarg" to allow to call a method without arguments - added definition to allow "-volatile" for obejct/class creation - added definition to allow "-noinit" for obejct/class creation

- change slots to xotcl2 Objects and Classes

- eliminated set methods in predefined

- implemented refcounting for variables allocated by the compiled var resolver - changed most of predefined to xotcl2 style * replaced all "my instvar" by access via dotName resolver * replaced most "my" (only "eval my ...." stayed)

- fix mixin deletion in next. Previouly, redundant computations of filters circumvented the problem. The bug was in the code at least since 2004.

- new parameter type method (similar to initcmd, but calls a same-named method)