nsf.c

Clone Tools
  • last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* 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.
Fix potential crash, whe nsf::parseargs is called with a non-empty argspec and empty argv

Extended regression test to cover such cases.

  1. … 1 more file in changeset.
add missing EXTERN declarations

  1. … 4 more files in changeset.
typographic changes, most prominently, more consistent comma settings

https://onlinewritingtraining.com.au/however-therefore-furthermore/

  1. … 6 more files in changeset.
remove "default" from fully initialized switches. initialize variable to slience compiler warnings

remove redundant test

fix indentation

* nsf.c (NSDeleteChildren): Remove redundant check on NSDeleteChild, leading to endless loop.

avoid dangerous and potentially recursive macro definition "pure"

  1. … 3 more files in changeset.
fix compilation issues with recent version of the Tcl core-8.branch (aka newest Tcl 8.7 branch)

  1. … 1 more file in changeset.
don't preallocate elements in Tcl_NewListObj with 2nd arg NULL (deprecated) nsf::__db_get_obj: make sure, the returned dict is valid

trying to understand AppVeyor behavior

still trying to understand AppVeyor behavior

take care on reference count on error message

debugging beahvior under AppVeyor

fix but on top-level shell on unknown ensemble submethods

- fix for the reported by "manfred" on comp.lang.tcl

improve cleanness of compilation

improve fall-through markup for case statements

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

  1. … 4 more files in changeset.
make unused argument explicitly as unused.

improve cleanness of compilation when compiled without threads

Fix endless loop at exit, when compiled without thread support

Many thanks to Pavel Demin for reporting this bug.

Added NR callback for uplevel; to be tested (WIP)

Eliminate TCL_INTERP_DESTROYED flag (as suggested by TIP #543)

Update copyright years [skip ci]

  1. … 4 more files in changeset.
minor cleanup and extended regression test - reduce returns before end of function - reduce variable scopes - don't use variable for different purposes

  1. … 1 more file in changeset.
* nsf.c (NsfOUplevelMethod): Add some comments to NsfOUplevelMethod; and clean up after rework.

Merge branch 'master' into uplevel-reform-pt2

* nsf.c, methods.test: Cont'd uplevel reform to sanitize the single-arg case (in light of recent changes to 8.7, TIP 515 and for the sake of XOTcl 1 compatibility): A single arg to uplevel won't be inspected for a level specifier anymore; added tests and TODOs

  1. … 1 more file in changeset.