nsf

Clone Tools
  • last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- code cleanup

- updated HTML renderings of examples

    • -309
    • +55
    /doc/example-scripts/bagel.html
    • -48
    • +68
    /doc/example-scripts/container.html
    • -3
    • +15
    /doc/example-scripts/ruby-mixins.html
    • -38
    • +57
    /doc/example-scripts/traits-simple.html
- minor code cleanup

nsf.c: - fix a bug in SlotContainerCmdResolver() when NSF_MEM_COUNT is activated - fix a small memory leak for PER_OBJECT_PARAMETER_CACHING - all cases detectable with --enable-memcount=yes are fixed

- fix git command in release instructions

- fix label for debugging reference counts

- updated TODO

- reduce variable scopes

nx::test: - change test cases to newer interface - don't use "namespace import nx::*" in test cases when not required

    • -134
    • +134
    /library/xotcl/tests/speedtest.xotcl
  1. … 20 more files in changeset.
nx::test: - use the standard configure interface for configuring instead of own version - changed from nx::Test to nx::test (user never has to know that nx::Test is a class).

- Eliminate all use of Tcl_GetStringFromObj() function.

- fix typos, example code

- further release work

  1. … 21 more files in changeset.
Fixed some typos and suggesting some rewording

- initial checkin of nx-mode.el

- preparing 2.0b5 release

    • -0
    • +1500
    /ChangeLog-2.0b3-2.0b5
    • -0
    • +262
    /doc/Announce2.0b5
Left a to-do in the nxdoc backend

Completed update of nxdoc for NX

serializer.tcl - added flag -objmap to Serialzer.deepSerialize to make serialzer usable for copying (-map is to coarse) - extended regression test

    • -18
    • +37
    /library/serialize/serializer.tcl
Adjusted nxdoc for the recent changes to NSF/NX

nsf.c - removed obsolete function AssertionAppendPrePost() - removed obsolete function NsfNSCopyCmdsCmd() and ::nsf::nscopycmd (handled now more general on scripting level in the "copy" method)

nx.tcl:

- "copy" method: fixed copying of class-level per-object methods

- extended regression tests

nsf.c - fixed a potental crash for objects having a wrapperless alias defined

Merge with remote branch

Make sure that the original error message is preserved when calling destroy after a failed CMD or INITCMD

nsf.c - fixed a bug in "info methods returns" in cases, where no returns info was available. - we can "/obj/ copy" now objects/classes containing * aliases * setter * ensemble methods * method protections Instead of handling cmd copying in NsfNSCopyCmdsCmd, it is replaced now by introspection. - extended regression test

nx::test: - deactivate calling overhead calculation, since this is not reliable (sometimes larger than the call).

- improved handling of required configure parameters when classes are changed dynamically. When configure parameter are defined required, checking for the absence of required parameter was only performed at creation time. When objects were re-classed or their classes extended with required parameters, later calls to configure did not trigger exceptions. Now we check for the existence of the instance variable which addresses most of these points, but in future we might wish a more general solution (see comment for futures releases)

- when creation with an required configure parameter failed, delete the half-baked object to avoid confusing states.

- nx::test: show msg at start of test file

- changed multiplicity of mixin, object-mixin, filter, object-filter from 1..n to 0..n; rationale: when one has a list of eg. mixins, which should be passed, one has to test for the length before passing it, otherwise the empty list would generate an error. Allowing 0..n makes the usage simpler and the program shorter.