generic

Clone Tools
  • last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- provided nicer registration and inspection interface for unknown handlers - added documentation for unknown handlers in tutorial - cleanup of __unknown

  1. … 7 more files in changeset.
- minor cleanup

  1. … 1 more file in changeset.
- improve bignum conversion handling further - found memleak in tcl

  1. … 2 more files in changeset.
- nsf.c: Initialising the tommath stubs by using the Tcl_TomMath_InitStubs macro so that we can use the stubbed tommath C interface

- fixing part of the memleak introduced for bignum handling above (for some unknown reasons, we see crashes from mp_clear) - extend regression test

  1. … 2 more files in changeset.
- added value checker type int32 (similar to "string is integer") and changed value checker "integer" to accept all integers

  1. … 2 more files in changeset.
- removed warning about strict-aliasing rules

- added tests for integer, wideinteger and bignums

  1. … 2 more files in changeset.
- fixed memory leak in "... info mixin classes -heritage"

  1. … 1 more file in changeset.
- moved mixin reg type converter to a new file (nsfObj.c) - added NsfFilterregObjType, to provide a converter for filter registration similar to mixin registrations - replaced dummy dupIntRepProc and updateStringProc in nsfObj.c by NULL

  1. … 5 more files in changeset.
- moved mixin reg type converter to a new file (nsfObj.c)

  1. … 4 more files in changeset.
- Use mixinregObjType as well in NsfRelationCmd(), so this is the only place, where mixin and guards are processed. - Since the type converter converts Tcl-Objs, we have less context information (e.g. we have no base class, on which we can decide to call e.g. __unknown on on of the objects systems). - because of the point above, i removed ::xotcl::Class->__unknown and ::nx::Class->__unknown in favor of a global proc ::nsf::unknown, for which unknown handlers can be registered - GetClassFromObj() receives as last argument "withUnknown" instead of baseClass to indicate, when unknown should be tried. - new function NsfCallUnkownHandler()

  1. … 6 more files in changeset.
- improve code documentation

- renamed converter from "mixinspec" to "mixinreg"

  1. … 6 more files in changeset.
- improve code documentation

- nsf.c: fix small memory leak for nsf::is in error cases

  1. … 1 more file in changeset.
- nsf.c: use NsfObjectRefCountIncr() instead of object->refCount++

  1. … 1 more file in changeset.
- improve code documentation

  1. … 2 more files in changeset.
- removal of unneeded flags "-incontext" and "-nomixins" from * /obj/ info methods * /cls/ info methods These flags are correct for "info lookup", but unneeded for "info methods" + cleanup of ListDefinedMethods()

  1. … 1 more file in changeset.
- remove unneeded var when compiled without profile support

* added profiling support for nsf::proc when NSF_INVOKE_SHADOWED_TRADITIONAL is turned off.

  1. … 1 more file in changeset.
- nsf.c: * added a new converter for converting mixins with guards (named mixinspec) * used mixinspec in nx.tcl and xotcl2.tcl * extended nx regression test.

  1. … 7 more files in changeset.
- nsf.c: generalized disposition handling (forward, alias, initcmd) for object parameter * disposition is now an option for object parameters rather than than an own type. Therefore, one can check the arguments passed to the disposition cases * changed specification of name of method from arg= to method= * this way "type" info in "info parameter syntax" is handled automatically

  1. … 8 more files in changeset.
- nsf.c: removed unneeded casts to (ClientData)

  1. … 1 more file in changeset.
- nsf.c: document two more functions

  1. … 1 more file in changeset.
- nsf.c: fixed bad interaction between mixins and ensembles in tcl8.6

  1. … 2 more files in changeset.
- nsf.c: fixed possible crash in tcl8.6 with nsfprocs, still one inconsistency

  1. … 2 more files in changeset.
- remove alias warnings from gcc under ubuntu (4.2.4)

  1. … 1 more file in changeset.
- added "link" from 2.4 (parameters) to "info parameters" in migration guide

  1. … 4 more files in changeset.
- bring defined commands in the source code in alphabetical order - generate interface for NsfUnsetUnknownArgsCmd() - delete some obsolete code

  1. … 1 more file in changeset.