nsf

Clone Tools
  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- handling of minimal object systems. For example, the following three command create an object system around ::object and ::class ...

::xotcl::createobjectsystem ::object ::class

::xotcl::alias ::class + ::xotcl::cmd::Class::create

::xotcl::alias ::object - ::xotcl::cmd::Object::destroy

... where no internal message dispatch are used (e.g. no

constructor "init", and where just two methods ("+" and "-")

are used to create and destroy objects

- extended regression test

- provide prefix for internally called methods to distinguish between methods called on objects or classes

- eliminated XOTE___UNKNOWN - renamed __unknown to requireobject

- eliminated XOTE_UNKNOWN

- eliminated XOTE_RESIDUALARGS

- renamed MethodObj() to XOTclMethodObj() (it is an exported symbol) - eliminated XOTE_MOVE

- replaced hard-coded method calls for XOTE_DEFAULTMETHOD, XOTE_INIT, XOTE_OBJECTPARAMETER with MethodObj()

- created new functions: ObjectSystemFree(), ObjectSystemAdd(), ObjectSystemsCheckSystemMethod(), ObjectSystemsCleanup(), GetObjectSystem(), CallDirectly() for better separation of systems. We keep track which essential system methods are defined and which which methods are potentially overloaded.

- move refcount fixing logic for exit from higher stackframes to new function: finalObjectDeletion()

- first part of allowing arbitrary named internally called methods.

- fix last issue, with freeing objects, when exit happens from higher stack frames

- block call-stack deletes during XOTCL_EXITHANDLER_ON_SOFT_DESTROY; however, this seems to create a small leak during exit (revant for threads); so currently, debug still turned on

- replace all CanInvokeDirectly() by InvokeMethodObj()

- remove some more obsolete RCS Ids - call Tcl_Objs "Obj", not "Object"

- remove filter deactivation to a later point in time (should finally be before freeAllXOTclObjectsAndClasses())

- deactivate filters in finialize - new method InvokeMethodObj() to replace finally CanInvokeDirectly()

- one more change for handling expat dirs n version 1.6.6 (fallback to bundle)

    • -0
    • +7
    /library/xml/TclExpat-1.1/configure.in
- handling OBJECT-frames in CallStackPopAll() (for handling exit with active stack frames)

- one more change for handling expat dirs (fallback to bundle)

    • -0
    • +7
    /library/xml/TclExpat-1.1/configure.in
- call all truely essential methods directly if possible (Object.destroy, Class.alloc, Class.dealloc, Class.create) The basics of XOTcl can work now also in cases, when these are not defined as methods.

- reduce verbosity

-minor cleanup

- make XOTcl_FrameDecls transparent (use variable declarations in place instead of the macro) - fix variable shadowing bug in error handling (could cause crashes when initcmd lead to errors)

- define RecreateObject() for internal call via diect invocation - doCleanup is just called by recreate; merge it into XOTclCRecreateMethod. Is method cleanup necessary? is recreate not sufficient?

- call c-implemented methods directly for XOTE_RECREATE as well (otherwise, create is faster than recreate)

- added stefan's expat library linking extension

    • -2
    • +75
    /library/xml/TclExpat-1.1/configure
    • -2
    • +48
    /library/xml/TclExpat-1.1/configure.in
- remove unneeded files from repository

    • -1006
    • +0
    /library/store/XOTclGdbm/config.log
    • -1006
    • +0
    /library/store/XOTclSdbm/config.log
    • -1006
    • +0
    /library/xml/TclExpat-1.1/config.log
- get rid of misleading RCS: lines - passing --prefix to subdirs - regenerated configure files

    • -21
    • +21
    /library/store/XOTclGdbm/Makefile
    • -940
    • +479
    /library/store/XOTclGdbm/config.log
    • -3515
    • +4888
    /library/store/XOTclGdbm/configure
    • -20
    • +21
    /library/store/XOTclSdbm/Makefile
    • -940
    • +479
    /library/store/XOTclSdbm/config.log
    • -3512
    • +4886
    /library/store/XOTclSdbm/configure
  1. … 7 more files in changeset.
- added Stefan's expat linking addition for debian

    • -14
    • +14
    /library/store/XOTclSdbm/Makefile
    • -652
    • +620
    /library/store/XOTclSdbm/config.log
    • -16
    • +16
    /library/xml/TclExpat-1.1/Makefile
    • -652
    • +633
    /library/xml/TclExpat-1.1/config.log
    • -343
    • +1109
    /library/xml/TclExpat-1.1/configure
    • -4
    • +49
    /library/xml/TclExpat-1.1/configure.in
- removed redundant section in configure.in (1.6.6)