nsf

Clone Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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)

    • -1099
    • +1209
    /generic/predefined.xotcl
- 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

- 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

- reduce verbosity

- implement first version of resudialargs parser, accepting methods starting with a "."

- change "setvalues" to "residualargs"

- DotCmdResolver() with XOTclDotCmd() only lookups within XOTCL_METHOD_FRAMES to minimize interactions supports efficient method-lookup via notation {.method in method bodies} - extended regression tests

- added several CONST flags - added experimental cmd resolver

- fix typo in naming (class_filter => class-filter)

- factor out VarHashTableCreate() and CompiledLocalsLookup() - new debug flag VAR_RESOLVER_TRACE - new varResolver DotVarResolver(): catches variable names starting with a ".", only lookups within XOTCL_METHOD_FRAMES to minimize interactions - don't clobber from guard calls for 8.5 and earlier as well - extended regression tests

- made compiledlocal handler more robust - added regression tests for compiled local handler

    • -13
    • +106
    /tests/varresolutiontest.xotcl
Revert "- add makefile rule for gegenerating stub files"

This reverts commit 0955eb6cf110e17fd6f9e87d1ae7d6785e4458c5.

... the files are needed for the configure magic

- add makefile rule for gegenerating stub files

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- change configure to run genstubs automatically - change scoping of variables on c-stack for not running in a optimizer problem

- cache var lookup (needs detailed testing)

- added experimental USE_COMPILED_VAR_RESOLVER Example:

Foo instproc bar2 {} {

set .x [expr {!${.x}}]

}

- provide propagation of errors from mixin guards (in earlier XOTcl versions, these were silently ignored) - don't clobber from guard calls - added new regression tests for mixin and filter guards called via next and trigger errors - fix result code handling for tcl 8.6 - fix tcl stack allocs/deallocs for tcl 8.6 - new debug flag TCL_STACK_ALLOC_TRACE - improve comments - new function CmdIsProc() to handle different behavior of TclIsProc() in 8.6 - passing regression test with tcl 8.6

- more work on 8.6b1: xotcl 2.0 boots now - fixed a few regression tests for 8.6 TclIsProc((Command*)cmd) not equiv to (Tcl_Command_objProc(cmd) == TclObjInterpProc) - not all regression tests run yet - make sure to run " make clean;configure;make genstubs" to compile under 8.5

- first steps towards 8.6

- improve debug message

- fixed var resolver problem - reactivated "set" method via "::set" - removed private realization via XOTclOSetMethod

- made create statments in xoDoc and loaded packages explicit - added tests/protected.xotcl

    • -13
    • +13
    /library/lib/metadataAnalyzer.xotcl
    • -0
    • +108
    /tests/protected.xotcl
- changed interface of ::xotcl::methodproperty to be used as well for introspection

- added ::xotcl::methodproperty ... static

We have now

* call-protection via methodproperty "protected"

* overwrite-protection via methodproperty "static"

Static methods can be deleted, but not overwritten (accidentially)

- added flag "-protected" to "method" for call-protected methods

- added checks for overwrite-protection to tcl implemented methods.

aliases, forwarder, and parametercmds

- removed "classscopedinstproc" (use "method -inner-namespace" instead)

- removed C-implemented unknown handler for ::xotcl::Class

and replaced by a Tcl-implemented one (should move into

compatibility library)

- removed XOTclAddPMethod() (use XOTclAddObjectMethod instead)

- removed XOTclAddIMethod() (use XOTclAddInstanceMethod instead)

- generalized MakeObjectMethod() and MakeClassMethod() into MakeProc()

- removed compile-flag NAMESPACEINSTPROCS and AUTOVARS

- removed defines for isClassString, isDoubleDashString, isAllocString,

isDeallocString, isDestroyString