nsf

Clone Tools
  • last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- implemented yet another objv parser - used currently only for XOTclClassInfoInstancesMethod()

- new command: ::xotcl::createobjectsystem <rootClass> <rootMetaClass> This command creates a basic object system with the specified <rootClass> as most general root class and the specified metaclass as most general meta class.

Example: ::xotcl::createobjectsystem ::oo::object ::oo::class

In general, it would be possible to remove an objects system

at runtime, but there is so far no tcl interface for this.

- extended framework to work with multiple root classes

- the basic root class of XOTcl is now ::xotcl::Object again

(instead of ::oo::object) as before. The old setup can be

achieved on the Tcl-layer.

- added metaclass property for root metaclass - metaclass property is set via ::xotcl::relation ... metaclass

- new parse() infrastructure for factoring out common parsing patterns of objv[] parsers - new error message handler: XOTclObjErrArgCntObj() - shortend code by about 1000 lines (about 100 due to parse())

-implemented XOTclObjInfoParametercmdMethod(), XOTclClassInfoInstparametercmdMethod() -implemented -closure for XOTclClassInfoInstmixinMethod()

- use objectName() and className() when possible - implemented XOTclClassInfoMixinofMethod() and XOTclClassInfoInstmixinofMethod() - some cleanup in regression tests

update changelog

- add object-system test to regression test target

- fixed bug in "info precedence -intrinsic"

- define default meta-class for ::xotcl::Class - use default meta-class, when a the topmost meta-class of an object system is deleted - fix regression test

- work on collateral damage after merge - fixed many test cases from the regression thest - wrote some changes to ChangeLog as a reminder

- new regression test file

    • -0
    • +63
    /tests/object-system.xotcl
merge with 1.6.3 (HEAD)

    • -0
    • +76
    /apps/xml/rdfExample.xotcl
    • -0
    • +115
    /apps/xml/xmlExample.xotcl
    • -0
    • +105
    /doc/Announce-1.6.0
  1. … 116 more files in changeset.
- follow Tcl's naming conventions more closely

- updated Changelog

- fixed potential access to deleted command list item in FilterSearchAgain() - fixed potential access deleted xotcl object by switching order in a condition - some minor cleanup

- fix wording

- finishing release 1.6.3

updated changelog, wrote announcement

- removed references to 1.6.2

- re-enable small optimization

- factor out common code

- provide compatibility with Tcl 8.4

- bump version number to 1.6.3

    • -0
    • +2
    /library/xml/TclExpat-1.1/configure.in
- simplify semantics of MixinSeekCurrent and FilterSeekCurrent, improve speed - remove necessity to have tclCompile.h - improve documentation

some small performance improvements (use CreateHashEntry instead of FindHashEntry, remove unneded argument, improve order of long and expressions)

- some code cleanup - new methods, when compiled with tcl 8.5; + MakeProcError (producing error messages from xotcl methods) + PushProcCallFrame (compile method to byte-code) The new support allows to call code at the begin of a proc without using the old approach based on :xotcl::initProcNS

- add comments to var resolution tests for objects without namespaces

- fixed reference counting - removed temporary hacks - added CONST to several functions - added relative namespace handling

- added Stefan's work for namespace resolvers - fixed a memory leak for "obj exists" due to the changes - found another memory leak, when e.g. "::info" is added as an alias and "info exists" is tested against non-existing vars

    • -0
    • +108
    /tests/varresolutiontest.xotcl