generic

Clone Tools
  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- fix bug in interaction between uplevel method from tcl procs

  1. … 2 more files in changeset.
-nsf.c: - fix bug in interaction between uplevel method and interceptor transparency - extend regression test

  1. … 2 more files in changeset.
- in case of multiple inheritance, make sure that all supporting classes haver already a procedence order defined

- reduce verbosity for FreeUnsetTraceVariable - return TCL_OK, even when FreeUnsetTraceVariable() fails (warning stays)

  1. … 1 more file in changeset.
- improve woring in comments

- fix stub provisioning for Tcl 8.6.*

- change macro name from XOTCL to NSF

nsf.c: - when ::nsf::object::alloc is passed an empty name (2nd argument), behave like "new" method

nsf.c: - new command ::nsf::object::alloc /class/ /obj/ ?/script/? alloc an object and execute script in the context. Can be used to regenerate an object in a old state.

serializer:

- fixed loading of objects with required data in the blueprint

(many thanks for david hopfmueller for reporting this)

- make use of nsf::object::alloc (1 command instead of 1 create + 2 evals)

- these changes imprived laading time of blueprint by about 25%

for OpenACS+xowiki

  1. … 5 more files in changeset.
- make test for retrieving parsed parameters more safe

- strip trailing spaces

- silence cppcheck

  1. … 1 more file in changeset.
- add more assertions - ensure computation of requires orders for recursive merges

  1. … 1 more file in changeset.
- strip trailing spaces

- get rid of potentially uninitialized variables

- make compiplation more clean - add assertion for validity checking of precedence lists

Fixing a mini-typo in nsf.c: unlinkely -> unlikely

- made linearization monotonic (for multiple inheritance) via single-inheritance linearization merging while preserving overall linearization rules - added flag NSF_LINEARIZER_TRACE - extended regression test

  1. … 3 more files in changeset.
generic/nsfPointer.c: - add reference counter to avoid double-inits and double-frees in case the table of converters is used from multiple interpreters

- change base stub table from XOTcl to NSF. - improve wording of error messages.

- add parameter parser and converter to stub tables

- make converter usable from c-based packages compiled with subs activated

- nsf: added switch "-checkalways" to nsf::method::create - nx: added switch "checkalways" to "method" and "object method" - extended regression test

  1. … 3 more files in changeset.
- minor cleanup: * reduce variable scope * remove uncalled static function

-added flag -checkalways to nsf::proc and nsf::asm::proc (for the latter just a placeholder for now). If the flag is used, it will cause argument testing independently from the "configure checkarguments" setting. To force argument checking always is useful e.g. for checking external values (e.g. in a web server)

Realized enter traces for method procs; leave traces remain TBD

  1. … 1 more file in changeset.
Explored assertion support from an NX perspective, by reviewing the current implementation against Eiffel's RAC; along the way, I made ::nsf::current more robust when being used in assertions

  1. … 1 more file in changeset.
- don't call postcondition, when the command/invariant have returned already an error

  1. … 2 more files in changeset.
nsf.c - fixed a bug where turning on assertions could swallow result-codes - extended regression test

  1. … 2 more files in changeset.
- fix potential crash when preconditions are empty