Clone Tools
  • last updated 2 hours ago
Constraints: committers
Constraints: files
Constraints: dates
* nsf.c (NsfOUplevelMethod, NsfOUpvarMethod): Silence compiler warnings on nonnull/NULL compares.

* 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.

reduce dead assignments improve indentation of variables

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

mongodb: add "bson asJSON" convenience method

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

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
improve spelling

unify spelling of "subclass"

improve spelling

    • -1
    • +1
align names (use "subclass" instead of "sub-class")

align behavior of "current activelevel" with "... callinglevel" in case no NSF frame is found

fix typos and make spelling more uniform

add regression test for testing the behavior of :upvar from toplevel tclsh with and without filters

This test covers implicitly also the behavior of [current callinglevel].

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

conservative fix for "current callinglevel"; probably more to come

* nx.tcl, xotcl2.tcl: Fully qualify uses of Tcl's upvar and uplevel, to avoid confusion when introducing equally named procs/ cmds in the OS namespaces.

    • -10
    • +10
minor cleanup: factor out common strings

improve spelling and formatting

improve spelling