nsf.h

Clone Tools
  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix for transitional bug due to NS_TCL_HAVE_TIP629

Deactivating NS_TCL_HAVE_TIP629, since this needs more work to deal

with the two different types of commands (before and after the TIP)

* When we activate NS_TCL_HAVE_TIP629 (TIP supporting > 2^31

* elements in object vectors), Tcl defines different objProcs

* (Tcl_ObjCmdProc and Tcl_ObjCmdProc2) where the usage of these

* depends on a cmdWrapperProc. Unfortunately, the resolving of

* these are performed via CmdWrapperInfo, which is not exported. We

* have to think how to resolve these to make this working as with

* prior Tcl versions.

  1. … 1 more file in changeset.
removed debugging output for NS_TCL_HAVE_TIP629

nsf.h: Remove leftover in header file

improved cleanness of compile with tcl9

  1. … 1 more file in changeset.
improved cleanness of compile with tcl9

  1. … 1 more file in changeset.
maintenance: reflect type change of Tcl TIP 666 (use Tcl_Size for object count in TIP 627)

cleanup after TIP 660

  1. … 2 more files in changeset.
Deactivate support of TIP 629 for the time being

When NS_TCL_HAVE_TIP629 (TIP supporting > 2^31 elements in object

vectors) is activated, Tcl defines different objProcs (Tcl_ObjCmdProc

and Tcl_ObjCmdProc2) for the old and new API, where the usage of these

depends on a cmdWrapperProc. Unfortunately, the resolving of these API

calls is performed through the wrapper via CmdWrapperInfo, which is

not exported. We have to think how to resolve these to make this

working as with prior Tcl versions.

Provide support for TIP 627 (Tcl 8.7a6+ and Tcl 9)

TIP 627 introduces support for > 2^31 elements in object vectors

(e.g., number of words in a single Tcl command). For details, see

https://core.tcl-lang.org/tips/doc/trunk/tip/627.md

To provide also backwards compatibility, this change uses the macros

TCL_COMMAND_OBJPROC, TCL_CREATEOBJCOMMAND, TCL_NRCALLOBJPROC,

TCL_NRCREATECOMMAND, TCL_OBJCMDPROC_T, and TCL_OBJC_T.

  1. … 21 more files in changeset.
fix compilation hickups for Tcl 8.5

  1. … 1 more file in changeset.
reduce warnings from redefined constants

  1. … 1 more file in changeset.
improve compatibility with core-8 branch

  1. … 1 more file in changeset.
fix for Tcl versions having Tcl_LibraryInitProc() already defined (core-8)

  1. … 1 more file in changeset.
provde compatibility for core-8-7-a3

Added support for compiling with Tcl 9.0 (Many Thanks to Jan Nijtmans for first steps)

This version compiles cleanly at least with Tcl 8.6.* and Tcl 9.0 (fossil trunk),

having -pedantic and -Wextra defined.

  1. … 20 more files in changeset.
remove realtive costly asserts when not in development mode

  1. … 1 more file in changeset.
added enumeration values

  1. … 5 more files in changeset.
Reduced usage of reserved identifiers [cert-dcl37-c,cert-dcl51-cpp]

  1. … 7 more files in changeset.
make clean compile, when TRACE flags are defined

  1. … 4 more files in changeset.
avoid dangerous and potentially recursive macro definition "pure"

  1. … 3 more files in changeset.
let developer control NDEBUG via Makefile (Tcl seems to define it nowadays)

silence gcc7+: use attribute based approach for denoting fall through in case statements

  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.
remove unused arguments

  1. … 4 more files in changeset.
Improve alignment of prototypes with function definitions improve regularity of variable names

  1. … 10 more files in changeset.
- implement substdefaultoptions (for now, just providing the bitmask) - add substdefault.test - rename static function ParamParse() to ParamDefinitionParse() - break overlong lines

  1. … 4 more files in changeset.
Use snprintf() instead of sprintf() to protect better against potential buffer overflows

  1. … 8 more files in changeset.
Add Valgrind/callgrind support

  1. … 4 more files in changeset.
Whitespace changes, typos

  1. … 2 more files in changeset.
Remove redundant definition