xotcl.c

Clone Tools
  • last updated 6 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

  1. … 9 more files in changeset.
- 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

  1. … 6 more files in changeset.
- finished implementtion of "info method -methodtype alias"

  1. … 1 more file in changeset.
- 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)

  1. … 8 more files in changeset.
- added aliastest provided by stefan - handle [self class] in aliased methods properly - use xotcl2 per default in xotclsh

  1. … 7 more files in changeset.
- 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

  1. … 6 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

  1. … 5 more files in changeset.
- 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

  1. … 5 more files in changeset.
- added automatic deletion of aliased commands - deletion of aliased procs works, deletion of aliases to procs not yet

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

- white space cleanup

  1. … 1 more file in changeset.
- make volatile work with object frames - fix typo in error message

  1. … 2 more files in changeset.
- 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

  1. … 3 more files in changeset.
- 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)

  1. … 2 more files in changeset.
- 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)

  1. … 2 more files in changeset.
- simplified resolver for compiled variables - small improvement for "next"

- fix object access in dotVarResolver for frames of type FRAME_IS_XOTCL_OBJECT

- temporary commit to swich to machine with valgrind

- provide explicit unknown handler - fix cases, where unknown hander was unknown

  1. … 3 more files in changeset.
- extend predefined for a minimal xotcl2 implementation - simplified slot initialization - new function: isRootNamespace() - simplified callingNameSpace() - merge destroyObjectSystems of multiple object systems into a common block for interleaved objects (e.g. using ::xotcl::Objects under ::xotcl2::Object)

  1. … 2 more files in changeset.
- avoid potential crashes, when next is not called from withing a methods context

- don't assume, "objectparameter" returns as last argument "args" - allow argument type "initcmd" to contain dotCmds and dotVars

- remove "." treatment from residual args handler

- minor polishing

- allow to distinguish for enumeration values between missing value and given first value (numerically 0) - generated stub for selfCmd

  1. … 4 more files in changeset.
- kip in forwarded "." in method name

- avoid overshooting the point in the argument vector for looking at nonpos args

- supporting "per-object" for alias - extending regression test

  1. … 1 more file in changeset.