nsf

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- nsf.c: fixed a nasty bug within namespace deletion, when a deletion of one tcl cmd caused implicit deletions of other cmds in the same namespace. The classical idiom for looking over hash tables with Tcl_GetHashValue() and Tcl_NextHashEntry(hSrch) can lead to crashes (and has different behavior depending on the number of buckets). - added regression test

- nx.tcl: needsForwarder is true, when method "get" is specified on a slot - nx.tcl: Don't generate per-slot add/assign handlers, when not needed

- updated class diagram

- removed deactivated slot optimizer

- nx.tcl: * full rewrite of slot machinerie, much simpler structure * relation handling via parameter aliases instread of pseudo converter * mixinclass SlotOptimizer removed * new class BootStrapAttributeSlot

- ConvertToRelation() and handling of parametertype "relation"

- Make CompiledColonVarFetch() more robust in case of

half initialized objects (create vartable on the fly if needed)

- allow empty parameter options in parameter parser

- removed nsf::parametersfromslots (became simple, part of objectparameter now)

- removed hardcoded objectparameter (attributes, volatile and noinit)

- updated regression test

    • -10
    • +10
    /library/xotcl/library/xotcl2.tcl
    • -13
    • +13
    /library/xotcl/tests/slottest.xotcl
- minor cleanup

- fixed potential access to freed memory (actually when checking if namespace was removed by Tcl); found this problem when compiling Tcl with SYSTEM_MALLOC (own modified version of tclThreadAlloc.c) - fixed memory leak (namespace names and structures)

- improved documentation

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

- added shadowing for ::tcl::info::body to allow "info body" to be called on ::nsf::procs - commented nsfShadow.c - added regression test

- fixed potential crash with missing parent namespace

- extended regression test

- updated TODO

- update of diagram

- nx.tcl: * new method requireClass to Combine two classes and return the more specialized one * make slot objects for parameter aliases and parameter forwarder instances of ObjectParameterSlot * get rid of attributes "isforward" and "isalias" and replace it by "dispositon" * complete list of predefined value checkers * we have now three approaches for providing parameter -object-filter and -object-method Approach 1: create RelationSlot with nosetter Approach 2: use parameter forwarder Approach 3: use parameter alias we switched from approach 1 to approach 3

- update of graphic

- serializer.tcl: reactivated methodSerialize (used in api-browser of OpenACS)

- handle spaces more carefully in [from|to]parameterSpec

- renamed object parameter type "method" to "alias" - removed parameter option "slotobj=" in toParameterSyntax - renamed to [from|to]parameterSyntax to [from|to]parameterSpec

- added first implementation of object parameter type forward

- parameter specs: use "arg=" in object parameter type "method" as name of a called method to allow to call unregistered methods - eliminate protected method "noinit" for nx and allow it just as an object parameter

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

- add explicit reference counting for oacs-style flag value passing

- remove parameter option "opitional" when not needed

- improve error message

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

- add "filter" to the list of highlited words

- documentation updates

- "asciidoc" theme: Completed a first template suite which renders an nxdoc project in terms of the html4/xhtml11 asciidoc backend. Added new templates: singlefile.html.asciidoc, class.html.asciidoc, attributemethod.html.asciidoc, command.html.asciidoc, link.html.asciidoc, listing.html.asciidoc, method.html.asciidoc, object.html.asciidoc, package.html.asciidoc, submethod.html.asciidoc. - nxdoc now distinguishes between rendering format, layout (multifile, singlefile, chunked) and refactored. All layout/format/theme handling, for now, is provided by ::nx::doc::Renderer. - First step towards refactoring/automating template resolution; see the TemplateData class. In a further step, this will permit us to remove redundant declarations of template details in render() and include() statements. - List and link generation are now adaptable based on dedicated templates per theme, e.g., link.html.tmpl|asciidoc. Note that these file-based templates might be replaced by scripted ones at a later point. - Fixed pretty naming of @package - Various refactorings, e.g. renderer mixin layers are now objects, rather than classes.

    • -0
    • +51
    /library/lib/doc-assets/attributemethod.html.asciidoc
    • -0
    • +106
    /library/lib/doc-assets/class.html.asciidoc
    • -9
    • +1
    /library/lib/doc-assets/class.html.tmpl
    • -0
    • +62
    /library/lib/doc-assets/command.html.asciidoc
    • -77
    • +0
    /library/lib/doc-assets/entity.html.tmpl
    • -0
    • +4
    /library/lib/doc-assets/link.html.asciidoc
    • -0
    • +4
    /library/lib/doc-assets/link.html.tmpl
    • -0
    • +3
    /library/lib/doc-assets/listing.html.asciidoc
    • -0
    • +1
    /library/lib/doc-assets/listing.html.tmpl
    • -0
    • +30
    /library/lib/doc-assets/method.html.asciidoc
    • -0
    • +77
    /library/lib/doc-assets/multifile.html.tmpl
    • -0
    • +20
    /library/lib/doc-assets/object.html.asciidoc
    • -0
    • +45
    /library/lib/doc-assets/package.html.asciidoc
    • -0
    • +102
    /library/lib/doc-assets/singlefile.html.asciidoc
    • -0
    • +25
    /library/lib/doc-assets/submethod.html.asciidoc
  1. … 3 more files in changeset.
- next-tutorial: documentation updates

    • -0
    • +638
    /doc/object-class-appclass.graffle
    • -0
    • +513
    /doc/object-class.graffle
    • -0
    • +2429
    /doc/object-parameter.graffle
    • binary
    /doc/object-parameter.png
    • -0
    • +420
    /doc/object-stack.graffle
    • binary
    /doc/object-stack.png
    • -0
    • +719
    /doc/per-class-mixin.graffle
    • binary
    /doc/per-class-mixin.png
    • -0
    • +722
    /doc/per-object-mixin.graffle
    • binary
    /doc/per-object-mixin.png
    • -0
    • +1155
    /doc/slots.graffle
  1. … 5 more files in changeset.