nsf

Clone Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* ChangeLog-2.3.0-2.4.0.log, Announce2.4.0: Continued work on release files [skip ci]

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

Minor cleanup

- reduce strlen operations

- reduce hard-coded constants

- perfer Tcl_Obj based interfaces of string based ones (opens opportunities for special objtypes)

Started working on changelog [skip ci]

    • -0
    • +514
    /ChangeLog-2.3.0-2.4.0.log
Do not support predefined parameter options spelled with trailing content

This change makes argument type checking more strict by rejecting

names as synonyms which are longer than the specified values.

Background: Previous versions did not handle cases correctly where an

application type name starts with the same characters as a built-in

type. So it was not possible to define a type "object_id", since a a

spec of the form "x:object_id" was interpreted as "x:object".

* build.yml: clang 11 is default on macos-latest runners; add remaining macos configs

* build.yml: Fix expressions

* build.yml: Remove artifacts from workflow

* build.yml: Added initial GitHub Actions workflow enabling Linux and macOS builds

    • -0
    • +100
    /.github/workflows/build.yml
* appveyor.yml: Bump build matrix to include the tag 8.6.11

* nsfAccessInt.h (TclIsCommandDeleted), nsf.c, nsfObj.c: More recent Tcl 8.7 (starting Sep 2020) has replaced the macro CMD_IS_DELETED by CMD_DYING.

* nsf.c (ParamOptionParse): Simplify option parsing for substdefault; Tcl_GetInt knows how to handle 0b binary constants, no expr call needed.

* nsf.c (VolatileMethod): Save a little by checking first chars

* nsf.c (VolatileMethod), volatile.test: Fix volatile for XOTcl 2: frame skipping must be limited to configure, otherwise, for self calls (e.g., 'my volatile'), the sentinal variable plus unset trace become created in the wrong callframe context (leading to corruption of any non-proc callframe); added test cases

fix provided length values for string arguments

whitespace cleanup (replace tabs)

make warning message more precise about unexpected slot structures during delete

added target for clang-tidy, fine-tuning of compile flags

added enumeration values

added support for enumeration values replaced anonymous arrays by dicts

improve type safety of generated code

Reduced usage of reserved identifiers [cert-dcl37-c,cert-dcl51-cpp]

improve comments and spelling

improve regularity and linebreaking in comments (mostly function headers)

    • -1
    • +2
    /generic/asm/asmExecuteTemplateLabelThreading.c
    • -1
    • +2
    /generic/asm/nsfAsmExecuteLabelThreading.c
whitespace changes: more consistent indentation of comments

    • -1
    • +1
    /generic/asm/asmExecuteTemplateCallThreading.c
    • -1
    • +1
    /generic/asm/asmExecuteTemplateLabelThreading.c
    • -1
    • +1
    /generic/asm/nsfAsmExecuteCallThreading.c
    • -1
    • +1
    /generic/asm/nsfAsmExecuteLabelThreading.c
  1. … 11 more files in changeset.
improve spelling

    • -17
    • +17
    /doc/next-tutorial/next-tutorial.txt
add one more test to sanity check

added debugging output for a case, where a Tcl cmd looks perfectly fine, but its procPtr (scripted cases) contains invalid data

reduce debugging output

make clean compile, when TRACE flags are defined