nsf

Clone Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* nsf.c (NsfOUplevelMethod, NsfOUpvarMethod, NsfCallstackFindCallingContext): Reform of uplevel and upvar methods, based on the recent feedback by Zoran. First, uplevel and upvar methods, as well as [current callinglevel] now behave consistently (re frame skipping for mixin and filter transparency). If there is no innermost enclosing proc frame, the innermost non-proc (e.g., namespace) frame is selected (rather than a "#0" as default). Second, argument handling for both uplevel (i.e., level sniffing in multi-arg case) and upvar (e.g., made silent TCL_ERROR for invalid argument arities explicit) have been fixed. * Object.man, methods.test: Added documentation for both methods (Object.man) and tests.

Fix merge glitch

Leave a to-do

Added docs about upvar method

* nsf.c (NsfOUpvarMethod): Fix argument parsing, to reflect Tcl's upvar behaviour for different (invalid) argument arities. Added tests.

Regenerated NROFF for nx::Class

cleaning up

* Object.man: Add documentation for uplevel method.

reduce dead assignments improve indentation of variables

avoid variable name "index" in generated code since "index" shadows an outer function

Add a to-do item on upvar/ uplevel

Fix indentation

* nsf.c, methods.test (NsfOUplevelMethod): Fix argument handling (level sniffing in the multi-arg case etc.), to match 1:1 the handling of Tcl's uplevel. Added tests.

mongodb: add "bson asJSON" convenience method

WIP; rewrite NsfCallStackFindCallingContext

Fix YAML syntax

appveyor.yml: Provide for caching the tclkit running the build script, to improve robustness and availability

handle ticket #3 on sourceforge: explicit "next" call in ensemble leads to unwanted "unknown" handler call

Extend up-reform to uplevel, introduce NsfCallstackFindCallingContext, added tests

since we know length, we can replace strcmp by memcmp

trigger new travis build

error message on stack overflow differs on windows and unix for tcl 8.5

we see now a different error message in tcl8.5 for a recursive loop (drop test?)

improve type cleanness

- deactivate under windows for the time being

make test more robust ("file lstat" returns less data under windows)

added an additional variant of ALLOC_ON_STACK

The new version does not use alloca(), it does not use VLA

and it does not boat the stack in case huge vectors are to be processed.

It uses a plain array up to a certain size and switches to malloc()

above this size.

improve spelling

    • -20
    • +19
    /library/xotcl/doc/tutorial.html
improve spelling

unify spelling of "subclass"