generic

Clone Tools
  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

In MSVC 14 (Visual Studio 2015) and newer, 'bool' is a proper type, not a typedef anymore. 'bool' cannot be used as identifier anymore (C2632)

- 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. … 1 more file in changeset.
- change "struct timeval" to "Tcl_Time" and gettimeofday() to Tcl_GetTime() in profiling code to improve portability (esp windows)

- newer versions of gcc6 handle now as well nonnull asserts gracefully, show we can turn off its deactivation for gcc6

Address two more gcc6 pedantic warnings

Re-factored new hash-table infrastructure (based on function-pointer keys) to support method-definitions (and future uses as well).

    • -0
    • +282
    ./nsfFunPtrHashTable.c
  1. … 2 more files in changeset.
- added Tcl_HashKeyType cmdPtrHashKeyType for command pointers

  1. … 1 more file in changeset.
- move initializations after nonnull asserts

- move initializations after nonnull asserts

- ease life of static checkers

- removed one more possible NULL comparison with a non-null value

- fix comment

- adding refcount handling before+after the call of NsfCallObjectUnknownHandler()

- Let nsf create classes with ::nsf::object::unknown handler in the fly, when c-function are called with objects of type class. This is necessary for triggering creation attempts in ttrace via ::nsf::object::alloc SOMECLASS SOMEOBJ

  1. … 1 more file in changeset.
- turned all for-loops controlled over a nonnull value into while loops - updated TODO, copyright notices, version number

  1. … 4 more files in changeset.
- move assignment aster nonnull assertions

- turned all for-loops controlled over a nonnull value into while loops.

  1. … 1 more file in changeset.
Slot trace reform: - redesign of slot interface of traces from * variables contains cmds and variable references to * slot specific methods with the same interface as slot-setters - new: * specify flag "-trace" with a list of values "get", "set", "default" * when flag is set, a trace will be registered calling methods value=get obj variable value=set obj variable value value=default obj variable on the slot (actually the first two are identical with the methods used for slot-defined accessors) - updated regression test * new flag "-notrace" for "nsf::var::set" and "nsf::var::get"

  1. … 6 more files in changeset.
- make sure to reset prevPreventRecursionFlags to value before the call

- changed interface of NsfDStringEval to control behavior via bitflags (this is after all more readable than a argument list of "0" and "1"s) - added optional recursion prevention for functions called via NsfDStringEval (handling NSF_EVAL_DEBUG, NSF_EVAL_LOG, NSF_EVAL_DEPRECATED) - added regression tests for potential recursive calls

  1. … 2 more files in changeset.
- add result in debug exit calls

- return fully qualified name for "::nsf::cmd::info definition" when called on plain procs

- fix compilation when DTRACE but no PROFILE is activated

- prefer boolean expressions in assert() statements

- make sure, we do not pass null values to nonnull arguments

- replace all remaning ObjectName and ClassName with variant with trailing "_" when appropriate - allow nsf::procs with zero arguments or plain arguments (when "-debug" is used - extended regression test - bump version number to 2.1

  1. … 5 more files in changeset.
- fix potential memory corruption bug in NsfDStringVPrintf()

  1. … 1 more file in changeset.
- nx: added flag "-debug" and "-deprecated" to methods "method" "object method" "alias" "object alias" "forward" "object forward" such one can use e.g. /cls/ public alias -deprecated|-debug /method/ ... /cls/ public forward -deprecated|-debug /method/ ... /cls/ public method -deprecated|-debug /method/ ... /obj/ public object alias -deprecated|-debug /method/ ... /obj/ public object forward -deprecated|-debug /method/ ... /obj/ public object method -deprecated|-debug /method/ ...

- added new cmd:

nsf::method::property /obj/ ?-per-object? /method/ exists

to check, whether a method is defined for an object.

- output triggered via "-debug" is now generated via the

tcl functions "nsf::debug::call" and "nsf::debug::exit",

that can be redefined (similar to e.g. nsf::deprecated)

- cleanup of nsfProfile.c commands

- extended regression test

  1. … 4 more files in changeset.
- handling "deprecated" and "debug" properties for nsf::proc (in "nsf::cmd::info definition /proc/" and serializer)

  1. … 3 more files in changeset.