nsf

Clone Tools
  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- don't allow method to overwrite child object - extended regression test - documented new feature as incompatibility with XOTcl 1

- don't allow object creation to overwrite non-object cmds (e.g. procs)

- improve debug line

- library/lib/nxdoc-xowiki.tcl: Finished and polished the xowiki backend for nxdoc. Some tests regarding relative paths and the treeview generation are pending ... - library/lib/nxdoc-xowiki.tcl: Use the built-in base64 facility if running under Tcl 8.6 - Due to re-introducing nested-object-as-method semantics lately, nxdoc started stumbling over name conflicts between nested entity hierarchies (i.e., the entity object representing "/cls/ class info class" ...) and equally-named introspection calls on such entities (e.g., a "info class" call). I made these calls more robust my using -system dispatches; which is fine as long as we do not have sth. like "/obj/ info eval". Generally speaking, the risk of such naming conflicts discredits the use of object nesting in nxdoc; should eventually be revised. Or, as work-around: Using a filter on Entity instances to protect/redirect critical calls.

    • -35
    • +354
    /library/lib/nxdoc-xowiki.tcl
- tests/serialize.test: Added some basic regression tests, in particular to challenge the filter options provided by Serializer->deepSerialize() and Serializer->all(). - Included a test for commit 595e6a2. - Along the line, two minor issues where fixed: 1) Set Serializer->ignore() to public, otherwise the various external message sends to this method would fail; 2) Object-serialize() did not distinguish between serialising a per-object or per-class container properly; as a consequence, per-object containers were not restored at all. Add a test covering this.

    • -0
    • +167
    /tests/serialize.test
- library/serialize/serializer.tcl: Due to the split between serializer and object system serializer, the ignore settings (passed as object variables, i.e., ignoreVarRE) got lost. This is fixed now ...

- treating incompatible forwarding to slot vs. slot option noaccessor - extended regression test

- use Tcl's EXTERN macro instead of "extern"

update release procedure

- mv next-tutorial (source, images) into own subdirectory doc/next-tutorial/

    • binary
    /doc/next-tutorial/languages.png
    • -0
    • +4001
    /doc/next-tutorial/next-tutorial.html
    • -0
    • +2309
    /doc/next-tutorial/next-tutorial.txt
    • -0
    • +638
    /doc/next-tutorial/object-class-appclass.graffle
    • binary
    /doc/next-tutorial/object-class-appclass.png
    • -0
    • +2498
    /doc/next-tutorial/object-parameter.graffle
    • binary
    /doc/next-tutorial/object-parameter.png
    • -0
    • +420
    /doc/next-tutorial/object-stack.graffle
    • binary
    /doc/next-tutorial/object-stack.png
    • -0
    • +719
    /doc/next-tutorial/per-class-mixin.graffle
    • binary
    /doc/next-tutorial/per-class-mixin.png
    • -0
    • +722
    /doc/next-tutorial/per-object-mixin.graffle
  1. … 27 more files in changeset.
- Bump version number of head to 2.0b4

improve wording

Added README.release Added Annoice 2.0b3

extended blacklist for tar file

- reduce variable scope

- additional object parameter option "invokesetter" managed by nx.tcl This was necessary, since the previously implemented strategy called the setter whenever slot= was provided. This has the problem, that values could be converted twice (once by "configure", once by the setter method", which lead for the converter to a double refcounting on the value.

- make clear that "pattern" is an optional argument of "info lookup method" - make clear, that 'all' is a permissible value for nonpos arg "-callprotection" (several commands)

add missing question mark

fix typo

- Forward setting of object parameters to the slot object, when assign method is user-defined on the slot object - Cleanup and extend regression test

- remove debug output

- Don't export symbols in the general case just because of MSC/C89 compliance

- updates

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf - use fixed array size for method_definitions for MSC

Conflicts:

generic/nsf.c

- Cleanup for compilation under MSC (avoid unsupported forward declaration of array) - further documentation of functions, better grouping of functions

- C89/C99 do not allow forward declaration of arrays with "static" storage classifiers (a feature which is a gcc extension only). For MSVC compat, I fixed these occurrences and verified that nsf builds with "gcc -std=c89 -pedantic". - generic/gentclAPI.tcl: Modified the print statements for two array forward declarations (method_definitions, enumeratorConverterEntries)

Fixed memdebub build

- changed object->flags from "unsigend short" to "unsigned int" - reintroduced NSF_TCL_DELETE to address bug flagged from memdebug - extended regression test

BEWARE: We are missing multivalued support in xotcl1 emulation

    • -19
    • +28
    /library/xotcl/library/xotcl2.tcl
doc: fixed line-number handling locally