nsf

Clone Tools
  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
nsf.c: - don't convert obj types tclCmdName and parsedVarNameType to instanceMethodObjType

- documentation updates: use term "instance method", some clarifications

- remove duplicate calculation of pcPtr->objc

- cleanup on nsfObj.c

- perform more eager invalidation on objectMethodEpochs

- minor cleanup

- added MixinregDupInternalRep() and FilterregDupInternalRep

tests: - added "package prefer latest" to avoid confusions of alpha and beta releases with install versions

nsf.c: - new cmd for debugging: nsf::__db_show_obj - added MethodDupInternalRep() and FlagDupInternalRep() since they appear to be required in Tcl 8.6b2.

nsf.c: - moved methodEpochCounters from global vars to the interp state to improve resue in multi threaded apps - separated objectMethodEpoch and instanceMethodEpoch - bump version number to 2.0a2

- minor cleanup

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

- experimentation version of unknown handler for non-pos args - extending regression test

nsf.c: - reform of method lookup. new code uses NsfInstanceMethodObjType and NsfObjectMethodObjType to reuse earlier lookup results. Improved speed for for methods with primitive bodies (over version before argument parse reform: 10%-43%. - additional compile-time option: METHOD_OBJECT_TRACE

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

- fix old typos (many thanks to Victor Guerra for noticing it)

- nsf.c - added experimental parameter option noleadingdash - additionalal regression test file method-parameter.test - provide selective error messages for unknown nonpos args

    • -0
    • +76
    /tests/method-parameter.test
- remove "namespace import ::nx::*"

- add example scripts

    • -0
    • +966
    /doc/example-scripts/per-object-mixins.html
    • -0
    • +131
    /doc/example-scripts/per-object-mixins.tcl
- provide more hints for gcc

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

- reform of argument parse. new parser uses NsfFlagObjType to reuse earlier parse resuslts. Improved speed for for methods with primitive bodies: 5%-25%.

- added minimal regression tests for argument parsing to object-system test

- library/lib/nxdoc-core.tcl: Slightly improved the error robustness of nxdoc

- nsf.c: make ":" a full equivalent vor nsf::my (i.e. support -local, -system and -intrinsic) - extend regression test

- nx.tcl: moved "properties" from nx::Class to nx::Object

- nsf.c: * allowed to call ":" like "my" or "self"

Object create o

o public method bar2 {} {return bar2-[: foo]}

o public method bar5 {} {return [self]::bar5}

o public method bar6 {} {return [:]::bar6}

* extended regression test

- use colon cmd rather then my

- documentation updates

    • -731
    • +1212
    /doc/next-tutorial.html
    • -0
    • +1750
    /doc/person-student.graffle
    • binary
    /doc/person-student.png
- documentation update

    • -1027
    • +782
    /doc/next-tutorial.html