library

Clone Tools
  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- generalize method serialization of forwarders

    • -100
    • +120
    ./serialize/serializer.tcl
- provide backward compatibility in method-serializer

serializer: - added handling of "-debug" and "-deprecated" in serializer - allow export of nsfprocs via "exportMethods declaration" in order to keep otherwise excluded cmds in the result. this allows us to keep nsf::debug::* or nsf::deprecated definitions in the blueprint in OpenACS. - hardened serializer (use e.g. "::namespace" instead of "namespace" when there is a potential conflict with a method named "namespace", prefer nsf::directdispatch, etc.) - extended regression test

  1. … 2 more files 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. … 13 more files in changeset.
- nx: added options "-debug" and "-deprecated" to methods "method" and "obejct method", such one can use e.g. C public method -deprecated bar {} {return 1} - extended regression test

  1. … 2 more files in changeset.
- nx: added new introspection options /cls/ info method debug /cls/ info method deprecated /obj/ info object method debug /obj/ info object method deprecated - extended regression test

  1. … 3 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.
- new introspection method: "/obj/ info baseclass" - extended regression test

  1. … 10 more files in changeset.
- new introspection methods: "/obj/ info object method callprotection /m/" "/cls/ info method callprotection /m/" - extended regression test

  1. … 3 more files in changeset.
- fix ::Serializer->methodSerialize when called for per-object methods

- Fixed a bug that disallowed the combination of valuecmd and valuechangedcmd for a single property (many thanks to Zoran for pointing this out)

Removed implicit substdefault for configure parameters in nx:

- The syntax of substdefault for method parameters and configure

parameters was different. For method parameters, it was necessary to

specify :substdefault per parameter to activate it, for configure

parameter is was based in the XOTcl tradition on the content of the

default (whether it contains [...]) One problem is, that there was

no easy way to turn this feature off. If one wants to provide a

script block as a default, it was necessary to escape all square

brackets.

- Now, in nx, one has to specify :substdefault for configure

parameter explicitly as well, syntax for configure and method

parameters is the same.

- XOTcl 2.0 keeps implicit substdefaults (backward compatible)

- fix bug: never try to substdefault, when there is no default given.

  1. … 3 more files in changeset.
In certain build situations, we might still run under Tcl 8.4 (because it comes as a legacy OS battery). Tcl modules are >= 8.5 only.

- new command nsf::method::forward::property in analogy to nsf::method::property for reading+writing introspection of forwarders (important for serializer, when different target objects are specified, to map the per-object forwarder) - extended regression test - bumped version number of serializer to 2.1

    • -2
    • +2
    ./xotcl/library/serialize/Serializer.xotcl
  1. … 6 more files in changeset.
- support building nsd from some other directory than the root directory - raise no error, when nsf is built with mongo + profile enabled

  1. … 4 more files in changeset.
- don't raise an error, but add warning in cases, slot data is inconsistent

- use same definition for ObjCmds as in tcl - prefer "const" over "CONST" unless in Tcl interface

  1. … 2 more files in changeset.
- fix all complaints from clang static analyzer 3.6

  1. … 1 more file in changeset.
- prefer boolean expression in tests over expressions of other types

  1. … 26 more files in changeset.
- make compilation clean with clang 3.6

  1. … 2 more files in changeset.
- add NsfArgumentError() to stub interface, since this might be used by c packages using the interface generator - add mong::json to the interface - bump version number for mongo interface to 0.4.

  1. … 5 more files in changeset.
- provide actual pkgIndex files

Bump version numbers in nx.tcl and xotcl2.tcl; adjust license statements

- updated for mongo-c-driver 1.0.2 and MongoDB 2.6.5 - minor changes were necessary: MongogDB does not allow to delete a capped collection, one has to use drop

Remove an nxdoc artifact

Use revised interpreter directive throughout

  1. … 1 more file in changeset.
Fix the remaining shebangs

  1. … 1 more file in changeset.
Remove any nxdoc artifacts from repo, to ease Debian packaging (incl. binary js is not accepted by lintian

    • -106
    • +0
    ./lib/nxdoc-assets/@class.html.asciidoc
    • -289
    • +0
    ./lib/nxdoc-assets/@class.html.yuidoc
    • -62
    • +0
    ./lib/nxdoc-assets/@command.html.asciidoc
    • -117
    • +0
    ./lib/nxdoc-assets/@command.html.yuidoc
    • -31
    • +0
    ./lib/nxdoc-assets/@method.html.asciidoc
    • -87
    • +0
    ./lib/nxdoc-assets/@method.html.yuidoc
    • -20
    • +0
    ./lib/nxdoc-assets/@object.html.asciidoc
    • -105
    • +0
    ./lib/nxdoc-assets/@object.html.yuidoc
    • -45
    • +0
    ./lib/nxdoc-assets/@package.html.asciidoc
    • -12
    • +0
    ./lib/nxdoc-assets/@package.html.yuidoc
    • -102
    • +0
    ./lib/nxdoc-assets/@project.html.asciidoc
    • -26
    • +0
    ./lib/nxdoc-assets/@project.html.yuidoc
    • -388
    • +0
    ./lib/nxdoc-assets/asciidoc/xhtml11.css
  1. … 37 more files in changeset.
- 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. … 4 more files in changeset.
Cleanup namespace export statement

Make 'info info' behaving as expected again

  1. … 1 more file in changeset.