generic

Clone Tools
  • last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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.
nsf.c: - dropped unused object::info::is - renamed ::nsf::methods::class::info::filtermethods -> ::nsf::methods::class::info::filters ::nsf::methods::object::info::filtermethods -> ::nsf::methods::object::info::filters ::nsf::methods::class::info::mixinclasses -> ::nsf::methods::class::info::mixins ::nsf::methods::object::info::mixinclasses -> ::nsf::methods::object::info::mixins

  1. … 3 more files in changeset.
nx.tcl: - make all __* system methods in nx redefine-protected - let "nsf::configure objectsystem" return handles and protections as well

  1. … 4 more files in changeset.
nsf.c: - allow abbreaviated nonpos args - change name of relationslot "superclass" to "superclasses". (part of a planned change to use plural for setvalued parameters, "info superclasses" and similar changes for mixins/filters will probably follow)

  1. … 6 more files in changeset.
nsf.c: - define means to protect "undefined" internally-directly called methods __alloc and __dealloc in nx. This is achieved mostly via a an additional value in a method declaration in ::nsf::objectsystem::create. Example: -class.dealloc {__dealloc ::nsf::methods::class::dealloc 1} - extend regression test

  1. … 6 more files in changeset.
nsf.c: - relax the meaning of noleadingdash to allow negative numbers - rename noleadingdash to e.g. nodashalnum

  1. … 8 more files in changeset.
- remove debugging output

- improve argument name