nsf.c

Clone Tools
  • last updated 53 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
object property volatile: provide support for tuning volatile on/off via object property.

improve spelling

  1. … 1 more file in changeset.
make code assumptions clear by adding asserts.

This was triggered by a report of Ashok running into a

crash during startup on windows (Visual Studio 2017)

- improved error message "not allowed to have default": make clear, this is from a parameter specification - added object property "autonamed" (set automatically for objects created via "new") - xotcl2 volatile: improved backward compatibility with XOTcl 1 - extended regression test

  1. … 4 more files in changeset.
- added new variant of "volatile" trying to mimick the XOTcl1 volatile behavior. - added experimental feature NSF_WITH_TCL_OBJ_TYPES_AS_CONVERTER, which uses registered TclObjTypes as value checkers (currently deactivated)

  1. … 4 more files in changeset.
WIP

  1. … 1 more file in changeset.
use "nonnull_assert" only in combination with "nonnull" declaration

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

* nsf.c (NsfProcStub): Re-order logic, so that the availability of a shadow proc cmd is tested first (re-fetch) and the parameter passing comes second, conditional on an available dispatch target.

nsf.c (NsfStubProc): Improve comment formatting

* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

  1. … 1 more file in changeset.
* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

  1. … 1 more file in changeset.
* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

  1. … 3 more files in changeset.
* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

  1. … 3 more files in changeset.
* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

  1. … 1 more file in changeset.
* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

  1. … 1 more file in changeset.
* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

  1. … 2 more files in changeset.
* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

  1. … 2 more files in changeset.
remove unneeded assignment

reduce dead assignments and variable scopes

improve handling of HAVE_INTTYPES_H under windows

  1. … 1 more file in changeset.
improve type cleanness

  1. … 1 more file in changeset.
remove comma before that

  1. … 1 more file in changeset.
help static analyzer to parse statements

reduve variable scopes

fix access to NULL members (found via clang sanitizer)

fix variable name

prefer writing blocks in multiple lines

improve spelling

  1. … 6 more files in changeset.
prefer Tcl defined types over local prototypes