nsf

Clone Tools
  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- new functions NonposArgsFree(), ParsedInterfaceDefinitionFree() - new class method invalidateinterfacedefinition - renamed convertToInterceptor() to convertToRelation() - added test tests/objifdtest.xotcl (not yet in test suite)

    • -0
    • +56
    /tests/objifdtest.xotcl
- added first verison of configure based on nonpos args (many thanks to Stefan!)

- added destroy test to regression tests

    • -0
    • +428
    /tests/destroytest.xotcl
- delay deletion of active classes until after last activation ends (similar to handling of active objects)

- fix deletion order for exit() calls with active stack frames

- activated test in filterGuard regression test. the former problem healed itself with the recent changes

- simplify interface of callDestroyMethod() - some cleanup for destroy stuff (inline comments, etc.) - checked all flags setting in connection with deletion - make sure, destroy methods are called on exit

-added missing Makefile dependency for xotclAccessInt.h -switched from XOTclObjectType to Tcl cmdName type (removed all type usages, removed RegisterObjTypes()) -removed compile flag KEEP_TCL_CMD_TYPE -renamed XOTclObjConvertObject() to GetObjectFromObj() -renamed GetXOTclClassFromObj() to GetClassFromObj() -simplified name/object conversion to lookup xotcl Objects -handle imported cmds in XOTclGetClientDataFromCmdPtr() -removed object flag XOTCL_NS_DESTROYED -removed member "parameters" from XOTclClass -removed member "parameterClass" from XOTclClassOpt

- fix a bug in CopyHandler (while copying slot objects) - found and fixed two cases, where xotcl could crash during deletion of active objects - simplified deletion logic of active objects significantly unsing an explicit activation count - removed old deletion logic (state variable callIsDestroy, callstate XOTCL_CSC_CALL_IS_DESTROY, destroyedCmd on stack content) - removed now obsolete functions CallStackMarkDestroyed() and CallStackMarkUndestroyed() - made changes for with and without TCL85STACK

- changed version number from 2.0.0a to 2.0.0 to avoid problems with package require - found crashes in deletion order (when tcl implicitly deletes xotcl objects), introduced temporary compile flag OLD_DELETE

    • -0
    • +2
    /library/xml/TclExpat-1.1/configure.in
- set version number to 2.0.0a

    • -3198
    • +3678
    /library/store/XOTclGdbm/configure
    • -3190
    • +3667
    /library/store/XOTclSdbm/configure
    • -3194
    • +3665
    /library/xml/TclExpat-1.1/configure
    • -0
    • +2
    /library/xml/TclExpat-1.1/configure.in
- generated interface for ::xotcl::deprecated

- generated interface for ::xotcl::XOTclInstvarCmd - define objects with cmdName of tcl obj type "cmd"

- no need to call objvparser in stub code, when just "allargs" are specified in a method

- generated interface for ::xotcl::createobjectsystem and ::xotcl::finalize

- added c functions for handling nonposargs in XOTclProcContext: getNonposArgs(), addNonposArgs() - provide convenient means to get Proc *: getObjectProc() getClassProc() - removed old hashtables and managing functions for nonposargs - reduced size of XOTclObject and XOTclClass structures

- XOTclProcContext and XOTclProcDeleteProc(): hooks for storing method information in command structures - added nonpos args lookup via XOTclProcContext

- minor cleanup

- split callProcCheck() into invokeProcMethod() and invokeCmdMethod() - renamed DoCallProcCheck() into InvokeMethod()

- removed XOTclCallStack definition and datastructures, when compiled with TCL85STACK

- CallStackPop(): when compiled with TCL85STACK,

the function just initializes a given call stack content;

allocation based on C-Stack

- some function cleanup and minor optimizations

- added option withRootClass to ComputePrecedenceList(); - exclude rootClass in search for defaults (for the time being) - implemented cmd ::xotcl::instvar

- get rid of fakeNS - minor simplification in XOTcl_PopFrame()

- Removed currentFramePtr (the pointer from the xotcl stack to the tcl stack) from the call stack content. Now, all access to the call stack content happens via the tcl85stack.

- For the time being, the xotcl stack is purely an allocation stack

(we still have to evaluate, where we should store the call stack content efficiently:

some options: via alloca, on the c-stack, on the tcl stack, on an allocation stack)

- new method CallStackPopAll() for making ExitHandler() independent from call stack structures

- implemented doCleanup() independent from stack structures - some variable renaming

- renamed UndestroyObj() to CallStackMarkUndestroyed() and implemented it for tcl85stack

- get rid of CallStackIsDestroyed()

- move tcl85showStack(), nonXotclObjectProcFrame() and nextFrameOfType() to xotclStack*.c

- get rid of GetSelfProc() - implemented XOTclNextMethod() for tcl85stack

- implemented XOTclForwardMethod () for tcl85stack