nsf.c

Clone Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* 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.

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

* 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

Done with substdefault

* 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

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

  1. … 5 more files in changeset.
improve comments and spelling

  1. … 6 more files in changeset.
improve regularity and linebreaking in comments (mostly function headers)

  1. … 16 more files in changeset.
whitespace changes: more consistent indentation of comments

  1. … 25 more files in changeset.
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

make clean compile, when TRACE flags are defined

  1. … 4 more files in changeset.
reduce verbosity, silence checker

Use memmove() instead of strncat() since the former supports overlapping buffers

do not try to initialize Tcl_TomMath_InitStubs when TCL_MAJOR_VERSION > 8 || TCL_MINOR_VERSION > 6

include for Tcl 8.5 tclTomMath.h to define the mp_int type

check, if the flag MP_INT_DECLARED is defined in 8.7* builds

avoid creation of Tcl_NewBignumObj() when argument is already of the bignum type

get rid of mp_free (we still need the type for mp_int)

improve spelling: move closer to the linux documentation recommendations

  1. … 19 more files in changeset.
nsf.c (Nsf_ConvertToInteger): Use Jan's hot fix TCL_NO_TOMMATH_H, not yet integrated into Tcl's 8.7 branch.

  1. … 1 more file in changeset.
make sure, variable is always initialized

make sure, result is alway initialized

improve spelling

  1. … 6 more files in changeset.
improve spelling

  1. … 1 more file in changeset.
improve spelling

  1. … 6 more files in changeset.
reduce debugging output

* nsf.c, testx.xotcl: Substitute tab-based indentation (1x) for space-based one (8x) for 'required argument' error msg.

  1. … 1 more file in changeset.