nsfInt.h

Clone Tools
  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added experimental definition of NSF_CONSTANT_COMPILED_LOCAL_LOOKUP

  1. … 1 more file in changeset.
Whitespace changes, typos

  1. … 2 more files in changeset.
more macro definition after GNU definitions

* nsf.c, nsfInt.h: Start housekeeping work on Tcl command/proc names vs. NSF method names to avoid conflicts between ensemle methods and e.g. whitespace-containing command names. Added helper macro NsfHasTclSpace and some first tests. To be continued.

  1. … 2 more files in changeset.
- Use more straightforward Tcl idiom to access first character of a string - Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL)

  1. … 10 more files in changeset.
Improve spelling

  1. … 43 more files in changeset.
- use preprocessor variables more consistently

  1. … 1 more file in changeset.
- remove old-style function definitions

  1. … 1 more file in changeset.
Reduce memory consumption via better aligning (esp on 64bit machines)

  1. … 3 more files in changeset.
modify STRING_NEW such that - it is able to produce "const char *" - such that it uses ckalloc

- provide clean compile for compilations with "-Wwrite-strings" - add const declarations

  1. … 6 more files in changeset.
- removed unneeded arguments - mark unused arguments as UNUSED

  1. … 4 more files in changeset.
- define NsfObjDispatch as Tcl_ObjCmdProc

  1. … 1 more file in changeset.
- use same ISOBJ for tcl 8.5 and tcl 8.6

- reduce implicit conversions when compiled under tcl 8.5.*

  1. … 2 more files in changeset.
* nsfInt.h, nsfError.c (NsfDStringVPrintf): The logic assumes _vsnprintf being used under MSVC. However, under Tcl 8.5.*, the mapping is missing from tclInt.h. Fill this gap.

* Updated copyright dates and copyright notices

  1. … 17 more files in changeset.
* Updated copyright dates and copyright notices

  1. … 17 more files in changeset.
- prefer lower case "U" suffix to improve readability

- improve sanity test in ISOBJ(): obj->bytes might only be NULL when type is given.

  1. … 2 more files in changeset.
- white space changes (mostly strip trailing spaces, remove a few tabs)

  1. … 5 more files in changeset.
- cleanup of type conversions

  1. … 6 more files in changeset.
- cleanup of type conversions in ~first ~18000 lines

  1. … 2 more files in changeset.
- improve variable for logging from "debugLevel" to "logSeverity" (print logging messages which have a severity larger equal the then given value; so; "nsf::configure debugLevel 0" will print everything, and "nsf::configure debugLevel 3" will print just error messages and omit warnings etc.) - this is not a change in sematics, but removes some confusion in the code. therefore the configure name was not changed - Remove 2 occurrences of deprecated Tcl Call Tcl_AppendResult() in nsfStubLib

  1. … 6 more files in changeset.
Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

  1. … 1 more file in changeset.
Provide for releasing/deleting the hash tables for cmd definitions and enumeration-type converters in ExitHandler

  1. … 3 more files in changeset.
remove various code smells: - add const declarations - prefer boolean tests - don't write "for" loops without a block - don't pass non-initialized value in an array on index [0] - reduce variable scope - prefer single returns statements in functions - dont't use CONST unless defined by Tcl-API

  1. … 9 more files in changeset.
- NsfProcStubDeleteProc(): Protect against potentially dangling namespace references from within ::nsf::procs::*. The wrapper cmd's namespace of an nsf::proc might already have been deleted when ::nsf::procs::* shuts down finally. This showed up during a Tcl_Exit (NSF's ExitHandler) as an invalid memory access via (dangling) namespace pointers (valgrind).

  1. … 1 more file in changeset.
- add new command nsf::parseargs to parse an argument vector against a parameter definition and to set the resulting variables in the current scope - extend regression test

  1. … 5 more files in changeset.
- change "struct timeval" to "Tcl_Time" and gettimeofday() to Tcl_GetTime() in profiling code to improve portability (esp windows)

  1. … 3 more files in changeset.