generic

Clone Tools
  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix a typo reported by lintian

- reduce number of unsued symbols

- fix a possible double refcount increment for argument converter (e.g. for normalizing input values). This could lead to small memory leaks.

- fix final refcounting bug: it was possible that classes contained in Tcl_Objs of type mixinreg were not freed, although their reference-counter became 0; now all test cases free all tcl_objs and referenced data structures allocated from nsf

- fix (probably quite old) memory leak when parameter passing fails to reclaim temporary Tcl_Objs

- fix memory leak with virtual parameters (resolved via args) with ref-counting

- fix execution with --enable-memcount=yes: second argument of NsfMemCountAlloc() and NsfMemCountFree() may be empty

- don't put macro arguments between parens when these are used for concatenation

- remove // comments

build system: - don't call genstubs from configure, since Debian does not seem to have genstubs.tcl installed. Now, we pre-generate the stub files for tcl8.5 and tcl8.6 and copy the "right" version depending on the configured version.

    • -0
    • +514
    ./stubs8.5/nsfDecls.h
    • -0
    • +60
    ./stubs8.5/nsfIntDecls.h
    • -0
    • +99
    ./stubs8.5/nsfStubInit.c
    • -0
    • +317
    ./stubs8.6/nsfDecls.h
    • -0
    • +58
    ./stubs8.6/nsfIntDecls.h
    • -0
    • +99
    ./stubs8.6/nsfStubInit.c
  1. … 5 more files in changeset.
- avoid old-style prototypes

- Added configure flag " --enable-forward-compat86" to be able to build binaries of XOTcl with Tcl 8.5 that can be used as well under Tcl 8.6 - Bump version number of XOTcl to 1.6.9

  1. … 5 more files in changeset.
- minor cleanup of "//"-comments

Minuscule refactoring, have DispatchUnknownMethod() reset the interp unknown-state directly, rather than its clients.

nsf.c: - make types for bit operations unsigned (mostly flags)

  1. … 1 more file in changeset.
nsf.c: - implement a new approach to error reporting in ensembles: instead of trying to find the "right" place to report the best "error", compute the longest valid ensemble prefix from all the stack frames.

- make compilation clean again

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

- improve safety of macro arguments

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

Work-in-progress on sanitizing unknown handling in ensembles

- remove useless distinction from the past

- revise sanity check for tcl _objs in 8.6 once one: length field might be garbage

- add alternative test for sanity checking of tcl_objs: when bytes not NULL, length must be 0 or higher

nsf.c: - remove redundant definition - reduce variable scope - make sure to follow nonnull assumptions

  1. … 1 more file in changeset.
nsf.h - In Tcl 8.6.1 it might be that a Tcl_Obj has length > 0 but bytes == NULL. We have to relax out tcl_obj-sanity test for this case to avoid false-positives from assertions()

XXX

  1. … 2 more files in changeset.
nsf.c: - remove redundant null check for object and add assertion

- remove duplicate entry for returns_nonnull

nsf.c: - provide error messages for ambiguous abbreviations - extend regression test (now 5460 tests)

  1. … 2 more files in changeset.